Input: Sentence: 'Traffic lights on a city street at dusk'. Count the number of nouns in this sentence.
Output: 5