Input: Sentence: 'A small vespa parked on a city sidewalk'. Count the number of nouns in this sentence.
Output: 3