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

Answer: 2


Question: Sentence: 'People are playing in the water in front of some hills'. Count the number of nouns in this sentence.

Answer: 4


Question: Sentence: 'A herd of elephants walking over a rocky area with trees in the background'. Count the number of verbs in this sentence.

Answer:
1