Input: Sentence: 'An older man blows out the candle on his birthday cake'. Count the number of nouns in this sentence.
Output: 4