Input: Sentence: 'A car with bright headlights coming up the street'. Count the number of nouns in this sentence.
Output: 3