Sentence:  By <WSD>counting</WSD> the number of stalls and urinals I attempted to form a loose estimate of how many men the hall would hold at one time . 
Meaning of the word marked with <WSD> tags:  determine the number or amount of