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

Ex Input:
Sentence: 'A yellow fire hydrant sitting next to a manhole with steam pouring out of it'. Count the number of verbs in this sentence.

Ex Output:
2

Ex Input:
Sentence: 'A new refrigerator and a new washer and dryer'. Count the number of verbs in this sentence.

Ex Output:
0

Ex Input:
Sentence: 'A ducks is swimming on the water while people walk in the background'. Count the number of verbs in this sentence.

Ex Output:
2