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 train car with four beds next to a window'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A man in black shirt doing a trick on a skateboard'. Count the number of nouns in this sentence.

SOLUTION:
4