Input: Sentence: 'A man sits at a desk before an open laptop'. Count the number of nouns in this sentence.
Output: 3