Input: Sentence: 'This is a very big piece of cake on a green plate'. Count the number of nouns in this sentence.
Output: 3