Input: Sentence: 'A cat laying in front of a laptop computer'. Count the number of nouns in this sentence.
Output: 4