Input: Sentence: 'a couple of animals walking on a rock road'. Count the number of nouns in this sentence.
Output: 4