Input: Sentence: 'A spacios living room with white walls and wood flooring'. Count the number of nouns in this sentence.
Output: 6