Input: Sentence: 'Large group of baked goods sitting on display next to each other'. Count the number of nouns in this sentence.
Output: 3