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

Input: Consider Input: Sentence: 'A picture of a dog staring down a fire hydrant'. Count the number of verbs in this sentence.

Output: 1

Input: Consider Input: Sentence: 'Elephants in a national park blowing dust around'. Count the number of nouns in this sentence.

Output: 3

Input: Consider Input: Sentence: 'A traffic light is near a red bus and a building'. Count the number of verbs in this sentence.
Output: 0