Input: Sentence: 'an orange sleeping cat and a person with a laptop'. Count the number of nouns in this sentence.
Output: 3