Input: Sentence: 'A cake covered in green and white frosting'. Count the number of nouns in this sentence.
Output: 2