In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A person is walking with their dog in a backpack in the park'. Count the number of nouns in this sentence.

Answer: 4


Question: Sentence: 'A spray paint covered fire hydrant on a side walk'. Count the number of verbs in this sentence.

Answer: 1


Question: Sentence: 'A photograph of breads and drinks in the cooler'. Count the number of verbs in this sentence.

Answer:
0