Input: Sentence: 'A yellow motorcycle parked on the curb of a street'. Count the number of nouns in this sentence.
Output: 3