Para contar o número de linhas na tabela SQL

SELECT count(*)
FROM information_schema.columns
WHERE table_name = 'Your_table_nale';
Light Leopard