[sql] How to count the number of columns in a table using SQL?