Input: Sentence: 'A man standing in front of a cake with lots of candles'. Count the number of nouns in this sentence.
Output: 5