TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A hand holding a partially eaten doughnut hole'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A man standing on a tennis court holding a tennis racquet'. Count the number of verbs in this sentence.

SOLUTION: 2

PROBLEM: Sentence: 'A birthday cake is shaped like a teddy bear'. Count the number of nouns in this sentence.

SOLUTION:
4