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

Ex Input:
Sentence: 'A white and grey dog in market area next to bananas and strawberries'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'a kitchen with a bunch of food in boxes and bananas hanging from hooks'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A fast train crossing over a small bridge'. Count the number of nouns in this sentence.

Ex Output:

3