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 man and a woman are cuddling on a park bench'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A young man riding on the back of a white horse'. Count the number of nouns in this sentence.

SOLUTION:
3