@Override
    public long getNumberOfValues(Object key) {
      Object rgnEntries = entriesSet.get(key);
      if (rgnEntries == null) {
        return 0;
      }
      if (rgnEntries instanceof RegionEntry) {
        return 1;
      } else {
        return ((Collection) rgnEntries).size();
      }
    }
Return the total number of times this index has been updated
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/HashIndex.java