TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A homeless man sleeping on a city bench'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A tall  giraffe standing alone in a forest'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'A very tall man walks toward a young boy on the tennis court'. Count the number of nouns in this sentence.

SOLUTION:
4