In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A man and children are riding on the back of an elephant'. Count the number of nouns in this sentence.

Answer: 4


Question: Sentence: 'A group of people walking towards an airplane'. Count the number of nouns in this sentence.

Answer: 3


Question: Sentence: 'A man flying through the air while riding skis'. Count the number of verbs in this sentence.

Answer:
2