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

Input: Consider Input: Sentence: 'A brown cow walks on a road with two motor bikes in the background'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A man playing  a game of tennis hitting a ball'. Count the number of verbs in this sentence.

Output: 2


Input: Consider Input: Sentence: 'A bright red fire hydrant is in the grass'. Count the number of nouns in this sentence.


Output: 3