Input: Sentence: 'Pears, oranges, and bananas are placed atop the white plate'. Count the number of nouns in this sentence.
Output: 4