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

Sentence: 'Two people with dogs walking by a modern building in a city'. Count the number of nouns in this sentence.
4

Sentence: 'Children play in the water from a fire hydrant in an urban setting'. Count the number of verbs in this sentence.
1

Sentence: 'A woman riding a horse on an open field'. Count the number of verbs in this sentence.
1