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

Input: Consider Input: Sentence: 'Two birds perched on top of a light pole'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'a keyboard that has some lego men on  it'. Count the number of nouns in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A cat is sitting on top of the computer desk'. Count the number of nouns in this sentence.


Output: 4