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 = 'table_name';