TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A giraffe standing next to a stone wall'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'Man poses for picture with his dog while sitting on a bench'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A large amount of bananas grouped together in a line'. Count the number of verbs in this sentence.

SOLUTION:
1