Input: Sentence: 'A long and narrow modern living room with two windows'. Count the number of nouns in this sentence.
Output: 3