docs: public int numberOfUpdates() {
          final Integer cachedValue = numberOfUpdatesCache;
  
          if (cachedValue != null) {
              return cachedValue;
          }
  
          int numberOfUpdates = 0;
  
          for (T object : results.keySet()) {
              final PutResult putResult = results.get(object);
  
              if (putResult.wasUpdated()) {
                  //noinspection ConstantConditions
                  numberOfUpdates += putResult.numberOfRowsUpdated();
              }
          }
  
          numberOfUpdatesCache = numberOfUpdates;
  
          return numberOfUpdates;
      }