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

Input: Consider Input: Sentence: 'A photographer taking picture with a police nearby'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A light green substance a large silver blender'. Count the number of nouns in this sentence.

Output: 3


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


Output: 1