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

Input: Consider Input: Sentence: 'A grandfather clock next to wall with windows and paintings'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'm mm m mm m mmmm mm m'. Count the number of nouns in this sentence.

Output: 1


Input: Consider Input: Sentence: 'Two zebras hang out by the fence in the zoo'. Count the number of verbs in this sentence.


Output: 1