Input: Sentence: 'A man and woman are sitting at a table with a piece of cake'. Count the number of nouns in this sentence.
Output: 5