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 cup of black coffee, biscuits, a piece of meat and grits on a table'. Count the number of verbs in this sentence.

Output: 0


Input: Consider Input: Sentence: 'there is a piece of cake and a fruit on a green late'. Count the number of nouns in this sentence.


Output: 3