TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A baseball game in progress with the batter in the middle of the swing'. Count the number of nouns in this sentence.

SOLUTION: 6

PROBLEM: Sentence: 'A view of a laptop being held by someone laying in bed'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A horse grazes from grass next to Teton Village'. Count the number of verbs in this sentence.

SOLUTION:
1