python count number of columns in dataframe