TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A person playing tug of war with a dog and a frisbee'. Count the number of nouns in this sentence.

SOLUTION: 5

PROBLEM: Sentence: 'A picture of a picture of a man wearing a tie'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A skater takes to the road with abundant energy'. Count the number of verbs in this sentence.

SOLUTION:
1