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

Input: Consider Input: Sentence: 'Two beds set right next to each other in a room'. Count the number of verbs in this sentence.

Output: 1

Input: Consider Input: Sentence: 'There is a person with a frisbee sitting by the water'. Count the number of verbs in this sentence.

Output: 1

Input: Consider Input: Sentence: 'View of a kitchen with man and dog inside of it'. Count the number of verbs in this sentence.
Output: 0