public int getTotalNumberOfBuckets() {

    return totalNumberOfBuckets;
  }
This method returns total number of buckets for this PR
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java