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

Ex Input:
Sentence: 'a cat siting next to a chair on a porch'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A bike stands alone beside a rock wall'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A fruit and vegetable stand has bananas up front'. Count the number of nouns in this sentence.

Ex Output:

4