Input: Sentence: 'A man standing on a tennis court holding a racquet'. Count the number of nouns in this sentence.
Output: 4