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

Ex Input:
Sentence: 'A display of broccoli and squashed in bins'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'Derek Jeter approaches the plate in a baseball game against the Giants'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A variety of items including books, food and a bag'. Count the number of nouns in this sentence.

Ex Output:

5