synchronized boolean containsTable(TableName tableName) {
    return this.tableAndRegionInfo.containsKey(tableName);
  }
Gets the total number of regions in namespace.
@return the region count
hbase-server/src/main/java/org/apache/hadoop/hbase/namespace/NamespaceTableAndRegionInfo.java