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

Input: Consider Input: Sentence: 'A family walking towards a very small airplane'. Count the number of verbs in this sentence.

Output: 1


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: 'An adult polar bear with two baby bears following on the snow'. Count the number of nouns in this sentence.


Output: 5