Input: Sentence: 'Several White Castle hamburgers sitting in a bag'. Count the number of nouns in this sentence.
Output: 2