Input: Sentence: 'A traffic light is on at night on the corner of a street'. Count the number of nouns in this sentence.
Output: 5