@Override
    public long getNumberOfValues(Object key) {
      if (key == null) {
        return nullMappedEntries.getNumValues();
      }
      if (key == QueryService.UNDEFINED) {
        return undefinedMappedEntries.getNumValues();
      }
      RegionEntryToValuesMap rvMap =
          (RegionEntryToValuesMap) valueToEntriesMap.get(key);
      if (rvMap == null) {
        return 0;
      }
      return rvMap.getNumValues();
    }
Return the total number of times this index has been updated
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/RangeIndex.java