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

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: 'Group of pilots displaying protest messages behind fenced area'. Count the number of nouns in this sentence.

Output: 4

Input: Consider Input: Sentence: 'Several giraffes standing by a gate at the zoo'. Count the number of verbs in this sentence.
Output: 1