Input: Sentence: 'An old, rickety wooden  bench near the woods'. Count the number of nouns in this sentence.
Output: 2