I was wondering if I could help with the =IF function

We have cells with a value of 100%, but not ever cell in a column. If the cell is 100%, then I want it to equal 1, and if not, then equal 0 (which is the easy part), but how do I add each of these functions through a series of cells to get a total whole number at the bottom. SO if we had 47 100%'s, then it would say 47?