Input: Sentence: 'A bunch of motorcycles all lined up by the side of the road'. Count the number of nouns in this sentence.
Output: 4