Input: Sentence: 'A black and white picture of children with tennis gear'. Count the number of nouns in this sentence.
Output: 4