TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'The street is barred for a train to pass'. Count the number of verbs in this sentence.

SOLUTION: 2

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: 'An elephant in water with grey walls around'. Count the number of verbs in this sentence.

SOLUTION:
0