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: 'There is a person with a frisbee sitting by the water'. Count the number of verbs in this sentence.

Answer: 1


Question: Sentence: 'The entrance to the Transit Mall Station is surrounded by buildings'. Count the number of nouns in this sentence.

Answer:
2