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