Input: Sentence: 'A man on a motorcycle is going down a country road'. Count the number of nouns in this sentence.
Output: 4