Input: Sentence: 'A bus on a street with cars and bicyclists'. Count the number of nouns in this sentence.
Output: 4