TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
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 woman on skis coming down a slope'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'some cars in the road and a street light with a red light'. Count the number of nouns in this sentence.

SOLUTION:
5