Input: Sentence: 'A wooden bench beneath a tree at a scenic lookout point'. Count the number of nouns in this sentence.
Output: 3