In this task, you need to count the number of nouns/verbs in the given sentence.

[Q]: Sentence: 'A person on a field swinging a tennis racket'. Count the number of verbs in this sentence.
[A]: 1


[Q]: Sentence: 'Two birds perched on top of a light pole'. Count the number of nouns in this sentence.
[A]: 3


[Q]: Sentence: 'A man playing a game while the woman is carrying a bag'. Count the number of nouns in this sentence.
[A]:
4