TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A person is walking with their dog in a backpack in the park'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'There is woman texting on a phone holding a tennis racket'. Count the number of verbs in this sentence.

SOLUTION: 2

PROBLEM: Sentence: 'A man wearing a dress shirt and a tie sitting against a dark background'. Count the number of nouns in this sentence.

SOLUTION:
5