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

Input: Consider Input: Sentence: 'A small white and brown dog carrying a red frisbee'. Count the number of nouns in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A tall clock tower flanked by two trees'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A guy is cutting something out of a piece of paper'. Count the number of verbs in this sentence.


Output: 1