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

Input: Consider Input: Sentence: 'A dog sits on a bed next to a cellphone and a pen'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'a group of people walking beside a rail train'. Count the number of nouns in this sentence.

Output: 4


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