In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A person playing tug of war with a dog and a frisbee'. Count the number of nouns in this sentence.

Answer: 5


Question: Sentence: 'Group of pilots displaying protest messages behind fenced area'. Count the number of nouns in this sentence.

Answer: 4


Question: Sentence: 'A black cat wearing a yellow bow tie'. Count the number of nouns in this sentence.

Answer:
3