Input: Sentence: 'a white room with a blue bed with a wooden frame'. Count the number of nouns in this sentence.
Output: 3