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

Ex Input:
Sentence: 'A brown cow walks on a road with two motor bikes in the background'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'An airplane near a wire and post fence'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A woman riding a horse and petting it in a corral'. Count the number of verbs in this sentence.

Ex Output:

2