Input: Sentence: 'A nearly all white colored bedroom with a brown wooden floor'. Count the number of nouns in this sentence.
Output: 2