Input: Sentence: 'A first birthday cake with a lion decoration'. Count the number of nouns in this sentence.
Output: 4