SELECT COUNT(*) from information_schema.tables WHERE table_type = 'base table'
Login to post response