In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A boat flies its flag while sailing just off a pier'. Count the number of verbs in this sentence.

Answer: 2


Question: Sentence: 'One person tossing a frisbee to another person in front of some trees'. Count the number of verbs in this sentence.

Answer: 1


Question: Sentence: 'Yellow utility truck parked inside a warehouse by itself'. Count the number of nouns in this sentence.

Answer:
4