Input: Sentence: 'some men are riding motorcycles on a wet road'. Count the number of nouns in this sentence.
Output: 3