Input: Sentence: 'A road with several cars going in both directions as well as a stop light'. Count the number of nouns in this sentence.
Output: 5