Input: Sentence: 'A bus sitting on the street next to a car'. Count the number of nouns in this sentence.
Output: 3