I have a data frame with many columns and rows. I wish to find the number of rows in two columns that both give \'1\' as simply as possible.