Input: Sentence: 'A bowl of fruit sitting on top of a table'. Count the number of nouns in this sentence.
Output: 4