Input: Sentence: 'A cat is sitting on top of the computer desk'. Count the number of nouns in this sentence.
Output: 4