TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A part of a cake left over from a celebration'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'Two people shaving letters on the side of a goat'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'Double sinks in a bathroom are a double treat for homeowners'. Count the number of nouns in this sentence.

SOLUTION:
4