Input: Sentence: 'A cat that is laying on someone's lap'. Count the number of nouns in this sentence.
Output: 2