TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A group of men leaning over rail as a dog approaches them'. Count the number of verbs in this sentence.

SOLUTION: 2

PROBLEM: Sentence: 'Motorcycles are parked alongside the circle driveway on a sunny day'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A cardboard sign is stapled onto a tree on a street'. Count the number of nouns in this sentence.

SOLUTION:
4