Input: Sentence: 'A eggy casserole is shown from the inside'. Count the number of nouns in this sentence.
Output: 2