Suppose I have a pandas data frame df with three columns and each column contains string values of either "a" or "b"
Col1 Col2 Col3
 a     b    a
 b     b    a
 a     a    a
 b     a    a
 b     b    b
 a     a    b
I want to count the number of times "a" and "b" appear in each row. How is this computed?
 
    