Input: Sentence: 'A large pizza sitting on top of a pan covered in cheese'. Count the number of nouns in this sentence.
Output: 4