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

Ex Input:
Sentence: 'A modest wooden bench looks out on a spectacular vista of mountains and cliffs'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'there is a fish eye view of a snowboarder in the air'. Count the number of nouns in this sentence.

Ex Output:
5


Ex Input:
Sentence: 'A group of people walking dogs in the rain under an umbrealla'. Count the number of nouns in this sentence.

Ex Output:

5