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