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

Input: Consider Input: Sentence: 'A part of a cake left over from a celebration'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A teddy bear sitting on top of a metal bench'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A person holding a pair of scissors up in the air'. Count the number of verbs in this sentence.


Output: 1