Input: Sentence: 'A motorcycle parked on the side of the road'. Count the number of nouns in this sentence.
Output: 3