TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'a man in a white shirt laying in bed'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'Four small broccoli plants in a brown planter'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A first birthday cake with a lion decoration'. Count the number of nouns in this sentence.

SOLUTION:
4