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

Ex Input:
Sentence: 'A man standing on a tennis court holding a tennis racquet'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A couple of horses standing in the middle of a road'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A blue and black bird walking across a dirty field'. Count the number of verbs in this sentence.

Ex Output:

1