In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A photographer taking picture with a police nearby'. Count the number of nouns in this sentence.

Answer: 3


Question: Sentence: 'The breakfast is ready to be eaten at the table'. Count the number of nouns in this sentence.

Answer: 2


Question: Sentence: 'A person is swinging a tennis racket at a ball on a court'. Count the number of nouns in this sentence.

Answer:
5