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 clear view display refrigerator lined with bottles of beer'. Count the number of nouns in this sentence.

Output: 5


Input: Consider Input: Sentence: 'A man that is riding on the back of an elephant'. Count the number of verbs in this sentence.


Output: 1