In this task, you need to count the number of nouns/verbs in the given sentence.
--------
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 photographer taking picture with a police nearby'. Count the number of nouns in this sentence.

Answer: 3


Question: Sentence: 'A giraffe standing next to a stone wall'. Count the number of nouns in this sentence.

Answer:
3