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

Input: Consider Input: Sentence: 'A cat laying on top of a bench wearing a collar'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A photo of young children playing base ball turned the wrong way'. Count the number of nouns in this sentence.

Output: 5


Input: Consider Input: Sentence: 'A gray cylindrical tank on a flat orange rail car, a ladder draped on its side'. Count the number of verbs in this sentence.


Output: 1