Input: Sentence: 'A man sitting in front of a laptop computer in a room'. Count the number of nouns in this sentence.
Output: 5