Input: Sentence: 'A cat lying on a striped, multicolored blanket'. Count the number of nouns in this sentence.
Output: 2