Input: Sentence: 'A view from the dining room of a large living room'. Count the number of nouns in this sentence.
Output: 5