Input: Sentence: 'black of white photo of a bus with doors'. Count the number of nouns in this sentence.
Output: 4