Input: Sentence: 'Cars driving on a road near road signs and traffic lights'. Count the number of nouns in this sentence.
Output: 6