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: 'A clay plate next to a vase with a plant in it'. Count the number of verbs in this sentence.

Output: 0


Input: Consider Input: Sentence: 'A lone bird perched on a branch in a wooded area'. Count the number of nouns in this sentence.


Output: 3