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: 'Multiple goats stand atop a grassy hill with a tree'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A ripe orange sitting in a dark background'. Count the number of verbs in this sentence.


Output: 1