Input: Sentence: 'an old black and white photo of kids playing baseball'. Count the number of nouns in this sentence.
Output: 3