In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'Two people with dogs walking by a modern building in a city'. Count the number of nouns in this sentence.

Answer: 4

Question: Sentence: 'A plate topped with a sandwich and french fries'. Count the number of verbs in this sentence.

Answer: 1

Question: Sentence: 'An elephant standing on rocks and grass next to a fence'. Count the number of nouns in this sentence.

Answer:
4