public int entryCount(boolean localOnly) {
    if (localOnly) {
      if (isDataStore()) {
        return entryCount(dataStore.getAllLocalBucketIds());
      } else {
        return 0;
      }
    } else {
      return entryCount(null);
    }
  }
Get the VSD statistics type

@return the statistics instance specific to this Partitioned Region
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java