Input: Sentence: 'some kind of a thick crust pizza on a metal pan'. Count the number of nouns in this sentence.
Output: 5