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

Ex Input:
Sentence: 'The dessert has ice cream and some fruit'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A colorful glass vase is casting a shadow'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A man and a woman are sitting in rocking chairs with laptops'. Count the number of verbs in this sentence.

Ex Output:

2