private int allSubregionsSize() {
    int size = 1; /* 1 for this region */
    for (Object regionObject : subregions.values()) {
      LocalRegion region = (LocalRegion) regionObject;
      if (region != null && region.isInitialized() && !region.isDestroyed()) {
        size += region.allSubregionsSize();
      }
    }
    return size;
  }
Return the number of subregions, including this region. Used for recursive size calculation in
SubregionsSet.size
geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegion.java