Input: Sentence: 'A parking meter on a street by a car with traffic'. Count the number of nouns in this sentence.
Output: 5