Input: Sentence: 'an abandoned boat sitting on the side of the road'. Count the number of nouns in this sentence.
Output: 3