Input: Sentence: 'A red plate topped with a cut in half sandwich'. Count the number of nouns in this sentence.
Output: 3