Php Sql Get Number Of Columns In A Dataframe