Input: Sentence: 'The black cat is lying on the keyboard of the computer'. Count the number of nouns in this sentence.
Output: 3