Input: Sentence: 'A man that is laying down underneath a cat'. Count the number of nouns in this sentence.
Output: 2