Input: Sentence: 'A boy in a blue and white shirt playing tennis on a brown tennis court'. Count the number of nouns in this sentence.
Output: 5