Input: Sentence: 'A room with many different types of classic decorations and accents'. Count the number of nouns in this sentence.
Output: 4