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

Input: Consider Input: Sentence: 'Cupcakes part iced part not with a walnut on top'. Count the number of nouns in this sentence.

Output: 5


Input: Consider Input: Sentence: 'The skateboarder in jeans and t-shirt stands on the pavement next to the skateboard'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A motor cycle parked near a wooden bench'. Count the number of verbs in this sentence.


Output: 1