Input: Sentence: 'A street with cars driving down and a traffic signal ahead'. Count the number of nouns in this sentence.
Output: 4