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

SOLUTION: 6

PROBLEM: Sentence: 'A collection of headshots dot the picture frame'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A man standing next to a woman in front of a store with lots of bananas'. Count the number of nouns in this sentence.

SOLUTION:
6