Input: Sentence: 'Dogs and cat sleeping on big comfortable couch'. Count the number of nouns in this sentence.
Output: 3