In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A tennis player looks at a tennis ball as she lifts up a tennis racket'. Count the number of nouns in this sentence.

Answer: 6


Question: Sentence: 'A black horse that is tied up eating grass'. Count the number of nouns in this sentence.

Answer: 2


Question: Sentence: 'Two girls with painted faces sit on the sidewalk'. Count the number of nouns in this sentence.

Answer:
3