TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'Cupcakes part iced part not with a walnut on top'. Count the number of nouns in this sentence.

SOLUTION: 5

PROBLEM: Sentence: 'A subway train next to the boarding platform'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A group of young people walking along  a beach with a dog'. Count the number of verbs in this sentence.

SOLUTION:
1