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

Input: Consider Input: Sentence: 'A traffic sign sitting on the side of a road'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'a cat sitting on a desk with keyboard and a computer mouse'. Count the number of nouns in this sentence.

Output: 5


Input: Consider Input: Sentence: 'A tall giraffe standing up against a fence'. Count the number of nouns in this sentence.


Output: 2