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: 'A sandwich served on a plate with salad'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A man is sitting in front of a stuffed bear'. Count the number of verbs in this sentence.


Output: 2