Input: Sentence: 'The interior of a living room is shown in modern style'. Count the number of nouns in this sentence.
Output: 4