public int getCreatedBucketsCount() {
    final ProxyBucketRegion[] bucs = buckets;
    if (bucs == null) {
      return 0;
    }
    int createdBucketsCount = 0;
    for (ProxyBucketRegion buc : bucs) {
      if (buc.getBucketOwnersCount() > 0) {
        createdBucketsCount++;
      }
    }
    return createdBucketsCount;
  }
Returns the total number of buckets created anywhere in the distributed system for this
partitioned region.

@return the total number of buckets created anywhere for this PR
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/RegionAdvisor.java