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

Ex Input:
Sentence: 'A cat sitting next to a pair of legs on the ground'. Count the number of nouns in this sentence.

Ex Output:
4


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: 'The bowl is full of broccoli and some kind of meat'. Count the number of nouns in this sentence.

Ex Output:

4