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