@Override
  public int size(Object key) {
    Object obj = valueToEntriesMap.get(key);
    if (obj != null) {
      return obj instanceof RegionEntry ? 1 : ((Collection) obj).size();
    } else {
      return 0;
    }
  }
Get the object of interest from the region entry. For now it always gets the deserialized
value.
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/MemoryIndexStore.java