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 little cat sits on a laptop keyboard'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'A train that is sitting on the tracks next to the grass'. Count the number of nouns in this sentence.

SOLUTION:
3