Input: Sentence: 'Man in white playing tennis on a court'. Count the number of nouns in this sentence.
Output: 4