How to get total row count of all database tables?