TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'The dessert has ice cream and some fruit'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'Two girls with painted faces sit on the sidewalk'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'an image of boy and a dog sharing a hot dog'. Count the number of nouns in this sentence.

SOLUTION:
4