Python Pandas Count Number Of Columns Sql