public function countTables()
    {
        $nb = 0;
        foreach ($this->getDatabases() as $database) {
            $nb += $database->countTables();
        }

        return $nb;
    }
public function countTables()
    {
        $nb = 0;
        foreach ($this->getDatabases() as $database) {
            $nb += $database->countTables();
        }

        return $nb;
    }
public function countTables ( ) { $ nb = 0 ; foreach ( $ this -> getDatabases ( ) as $ database ) { $ nb += $ database -> countTables ( ) ; } return $ nb ; }
Returns the number of tables in all the databases of this Schema object.

@return integer
Returns the number of tables in all the databases of this Schema object .