Run select count (*) for all tables in a database