Input: Sentence: 'There is a laptop on the desk in front of the monitor'. Count the number of nouns in this sentence.
Output: 4