@Override
    public long getNumberOfValues() {
      return getRegion().values().size();
    }
Returns the number of values in this index.
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/PrimaryKeyIndex.java