Input: Sentence: 'A white bed in a living area with pictures on the wall'. Count the number of nouns in this sentence.
Output: 4