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

Ex Input:
Sentence: 'm mm m mm m mmmm mm m'. Count the number of nouns in this sentence.

Ex Output:
1


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: 'Two gentlemen politely discussing something while others look on'. Count the number of nouns in this sentence.

Ex Output:

2