Input: Sentence: 'A laptop computer with a cat hiding behind it'. Count the number of nouns in this sentence.
Output: 3