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

Ex Input:
Sentence: 'A cup of black coffee, biscuits, a piece of meat and grits on a table'. Count the number of verbs in this sentence.

Ex Output:
0


Ex Input:
Sentence: 'A lean, gray racehorse being led to a track'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A Train with yellow and red caboose cars passing through a town'. Count the number of verbs in this sentence.

Ex Output:

1