TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'Painting of a large elephant walking through an open field by itself'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A clean bathroom is seen in this image'. Count the number of nouns in this sentence.

SOLUTION: 2

PROBLEM: Sentence: 'Four people are in a long boat in the water'. Count the number of nouns in this sentence.

SOLUTION:
3