@Override
  public int size(Object key) {
    // return Long.valueOf(indexMap.size(key, key)).intValue();
    return 1;
  }
Implementation of IndexStorage that is backed by an IndexMap
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/MapIndexStore.java