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 a TV dinner beside a computer and action figures'. Count the number of nouns in this sentence.

Output: 6


Input: Consider Input: Sentence: 'a close up of a mirror showing two zebras'. Count the number of verbs in this sentence.


Output: 1