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

Input: Consider Input: Sentence: 'A person on a field swinging a tennis racket'. Count the number of verbs in this sentence.

Output: 1


Input: Consider Input: Sentence: 'A subway train next to the boarding platform'. Count the number of nouns in this sentence.

Output: 4


Input: Consider Input: Sentence: 'A group of elephants gathered around their watering hole'. Count the number of nouns in this sentence.


Output: 4