Input: Sentence: 'A laptop is opened on a desk under a lamp'. Count the number of nouns in this sentence.
Output: 3