Input: Sentence: 'A close up shot of a green wooden bench'. Count the number of nouns in this sentence.
Output: 2