TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A homeless man sleeping on a city bench'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A glass bottle used as a vase for twigs'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'Some people who are watching a miniature train go down railroad tracks'. Count the number of nouns in this sentence.

SOLUTION:
4