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

Ex Input:
Sentence: 'A group of men leaning over rail as a dog approaches them'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A white and grey dog in market area next to bananas and strawberries'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'Two empty wooded benches overlooking a calm beach'. Count the number of verbs in this sentence.

Ex Output:

1