Input: Sentence: 'A laptop computer that is playing a cartoon video'. Count the number of nouns in this sentence.
Output: 4