TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
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 small oval orange couch and ottoman with pineapple pillows'. Count the number of verbs in this sentence.

SOLUTION: 0

PROBLEM: Sentence: 'a number of fruits on a counter with bananas'. Count the number of nouns in this sentence.

SOLUTION:
4