Input: Sentence: 'A boy sitting at a black table with white plates of cake'. Count the number of nouns in this sentence.
Output: 4