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

Input: Consider Input: Sentence: 'A group of men leaning over rail as a dog approaches them'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'Pedestrians stand at a crosswalk waiting for the light to change'. Count the number of nouns in this sentence.

Output: 3


Input: Consider Input: Sentence: 'A man and a little girl holding game controllers'. Count the number of verbs in this sentence.


Output: 1