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

Ex Input:
Sentence: 'A black and white image of a park bench'. Count the number of verbs in this sentence.

Ex Output:
0

Ex Input:
Sentence: 'Two cows that are standing in the grass'. Count the number of nouns in this sentence.

Ex Output:
2

Ex Input:
Sentence: 'The woman giggles as she drinks a beer in hand'. Count the number of verbs in this sentence.

Ex Output:
2