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

Input: Consider Input: Sentence: 'A small child sleeping in a toddler bed with a pink bed set'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A zebra in the sun on a dirt road'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A batter swinging at a baseball at a game'. Count the number of verbs in this sentence.


Output: 1