Input: Sentence: 'A couple of traffic lights hanging over a street'. Count the number of nouns in this sentence.
Output: 4