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: 'Two cows that are standing in the grass'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'a couple of guys that are skiing down a snowy field'. Count the number of nouns in this sentence.

Ex Output:

3