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

Input: Consider Input: Sentence: 'scissors balanced on a plastic carton balanced on a shelf'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'This is a close up shot of a mans goatee'. Count the number of nouns in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A chair and a desk in a room'. Count the number of nouns in this sentence.


Output: 3