It is possible to find the number of rows in a table:
select count(*) from tablename
Is it possible to find the number of columns in a tabl
SELECT count(*) FROM information_schema.columns WHERE table_name = 'Your_table_name';
Note: Your_table_name should be replaced by your actual table name