count occurrences of number by column in pandas data frame,(df == 1).sum()