@Override
  public RuntimeRegionInfo get(Region config, InternalCache cache) {
    org.apache.geode.cache.Region<Object, Object> region =
        cache.getRegion(SEPARATOR + config.getName());
    if (region == null) {
      return null;
    }

    RuntimeRegionInfo info = new RuntimeRegionInfo();
    info.setEntryCount(region.size());
    return info;
  }
this method supports creating root region and sub-regions.
We need this because CreateRegionCommand should still
support creating sub regions.

@param regionConfig the name in regionConfig is ignored.
@param regionPath this is the full path of the region
geode-core/src/main/java/org/apache/geode/management/internal/configuration/realizers/RegionConfigRealizer.java