Input: Sentence: 'A person with a laptop and cat on their lap'. Count the number of nouns in this sentence.
Output: 4