Input: Sentence: 'Man blowing out the candles of cake with beer in background'. Count the number of nouns in this sentence.
Output: 5