TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A photo of a TV dinner beside a computer and action figures'. Count the number of nouns in this sentence.

SOLUTION: 6

PROBLEM: Sentence: 'A view of a blue train on train tracks'. Count the number of verbs in this sentence.

SOLUTION: 0

PROBLEM: Sentence: 'A pizza pie topped with mushroom spinach and cheese'. Count the number of verbs in this sentence.

SOLUTION:
1