Input: Sentence: 'A piece of chocolate cake on top of a white plate'. Count the number of nouns in this sentence.
Output: 5