Input: Sentence: 'two people in a kitchen preparing food near a window'. Count the number of nouns in this sentence.
Output: 4