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

Ex Input:
Sentence: 'A person surfing under a wave in the ocean'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A very old style fire truck at the station'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'The dessert has ice cream and some fruit'. Count the number of nouns in this sentence.

Ex Output:

4