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

Input: Consider Input: Sentence: 'A small white and brown dog carrying a red frisbee'. Count the number of nouns in this sentence.

Output: 2


Input: Consider Input: Sentence: 'Children play in the water from a fire hydrant in an urban setting'. Count the number of verbs in this sentence.

Output: 1


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


Output: 0