Input: Sentence: 'Two cast iron skillets with food in them on stands on a table'. Count the number of nouns in this sentence.
Output: 6