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

Ex Input:
Sentence: 'A man sitting in front of a computer taking a bit out of a pastry and holding a drink'. Count the number of nouns in this sentence.

Ex Output:
6


Ex Input:
Sentence: 'A baseball player holding a bat over home plate'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A woman on skis is being pulled by a dog'. Count the number of nouns in this sentence.

Ex Output:

3