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: 'some long boats are out on the water'. Count the number of nouns in this sentence.

Output: 2


Input: Consider Input: Sentence: 'The couches and chairs in a living room are facing a television'. Count the number of verbs in this sentence.


Output: 1