DON'T EDIT THIS QUERY! YOU HAVE LINKED TO IT FROM HERE: http://meta.stackexchange.com/a/2678/158100 REMEMBER?
Q&A for experienced flyers, pilots, and builders of drones and model aircraft
select count(ordinal_position)as countc from INFORMATION_SCHEMA.Columns c where c.table_name = ##table:string?posts## group by ordinal_position