In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A water fountain shooting up air in front of a building'. Count the number of verbs in this sentence.

Answer: 1


Question: Sentence: 'Old man in a white outfit swinging at a tennis ball with a racket'. Count the number of nouns in this sentence.

Answer: 5


Question: Sentence: 'A piece of cake on a plate next to a fork'. Count the number of nouns in this sentence.

Answer:
4