TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A red train engine coming into a station'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A tv monitor on a table and a radio'. Count the number of verbs in this sentence.

SOLUTION: 0

PROBLEM: Sentence: 'A man jumps to catch a frisbee with two hands'. Count the number of nouns in this sentence.

SOLUTION:
3