I have 2 columns in excel:

COL1 COL2
1 1
1 1
1 0
3 2
2 2
3 3

How do I get the frequency of 1 = 1?
(In this case it's 2)