Input: Sentence: 'An iPad on a well-made bed with pillows'. Count the number of nouns in this sentence.
Output: 2