Input: Sentence: 'a yellow and black bus and some buildings'. Count the number of nouns in this sentence.
Output: 2