Input: Sentence: 'A man sitting in a chair holding an open laptop computer'. Count the number of nouns in this sentence.
Output: 4