Input: Sentence: 'A tennis player looks at a tennis ball as she lifts up a tennis racket'. Count the number of nouns in this sentence.
Output: 6