synchronized int incRegionCountForTable(TableName tableName, int count) {
    return tableAndRegionInfo.get(tableName).addAndGet(count);
  }
Gets the total number of regions in namespace.
@return the region count
hbase-server/src/main/java/org/apache/hadoop/hbase/namespace/NamespaceTableAndRegionInfo.java