TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A lone giraffe standing nears the trees on a sunny day'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'Surfer riding a wave in ocean with surfboard pointed up'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'An elephant walking behind a man in a park'. Count the number of nouns in this sentence.

SOLUTION:
3