TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A laptop cake sits on a wooden table by a window'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'The bench seat by the window is empty'. Count the number of verbs in this sentence.

SOLUTION: 0

PROBLEM: Sentence: 'a train on a track near a platform'. Count the number of nouns in this sentence.

SOLUTION:
3