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

[EX Q]: Sentence: 'A group of men leaning over rail as a dog approaches them'. Count the number of verbs in this sentence.
[EX A]: 2

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

[EX Q]: Sentence: 'This is a very big piece of cake on a green plate'. Count the number of nouns in this sentence.
[EX A]:
3