Input: Sentence: 'a bunch of briefcases stacked on a shelf together'. Count the number of nouns in this sentence.
Output: 3