TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A red train engine coming into a station'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A small clock in a big room seen through a window'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'Three lambs laying next to each other in the hay'. Count the number of verbs in this sentence.

SOLUTION:
1