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

[Q]: Sentence: 'The street is barred for a train to pass'. Count the number of verbs in this sentence.
[A]: 2


[Q]: Sentence: 'Two horses are walking a carriage through the streets'. Count the number of verbs in this sentence.
[A]: 1


[Q]: Sentence: 'there is a black cat that is walking through a grass field'. Count the number of nouns in this sentence.
[A]:
3