Input: Sentence: 'The donuts are going to be fresh out of the oven'. Count the number of nouns in this sentence.
Output: 2