TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'a close up of a urinal and a device next to it'. Count the number of nouns in this sentence.

SOLUTION: 2

PROBLEM: Sentence: 'A lean, gray racehorse being led to a track'. Count the number of nouns in this sentence.

SOLUTION: 2

PROBLEM: Sentence: 'A small bird perched on top of a green branch'. Count the number of verbs in this sentence.

SOLUTION:
1