How To Count Number Of Columns In Dataframe Groupby