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

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

Output: 1


Input: Consider Input: Sentence: 'a cat sitting on a desk with keyboard and a computer mouse'. Count the number of nouns in this sentence.

Output: 5


Input: Consider Input: Sentence: 'A boat flies its flag while sailing just off a pier'. Count the number of nouns in this sentence.


Output: 3