Input: Sentence: 'Three tennis players are posing with their rackets'. Count the number of nouns in this sentence.
Output: 3