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

Ex Input:
Sentence: 'A couple of women walking down a street holding umbrellas'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A park with not much shade and a kite flying'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A pitcher in action on the baseball field'. Count the number of nouns in this sentence.

Ex Output:

4