Input: Sentence: 'two laptops and a monitor all lit up on a messy desk with an open journal'. Count the number of nouns in this sentence.
Output: 4