Input: Sentence: 'a pizza sitting on some wood in the oven'. Count the number of nouns in this sentence.
Output: 3