Input: Sentence: 'an older woman is looking at a pink yellow and white cake'. Count the number of nouns in this sentence.
Output: 2