TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A cat sitting next to a pair of legs on the ground'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'People walking across an intersection in the city'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A clock tower near a road where cars are driving and a building'. Count the number of nouns in this sentence.

SOLUTION:
5