Input: Sentence: 'A small pizza is baking in the oven'. Count the number of nouns in this sentence.
Output: 2