public short getBucketsManaged() {
    return (short) localBucket2RegionMap.size();
  }
Report the number of buckets currently managed by this DataStore
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionDataStore.java