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

Ex Input:
Sentence: 'The jar that is left out on the table is dirty'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'a couple of kids are playing a soccer game'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'People wearing old Western-styled dress stand aside the road as a horse-drawn carriage in a parade passes by'. Count the number of verbs in this sentence.

Ex Output:
5