Input: Sentence: 'A par of sunglasses on top of a laptop keyboard'. Count the number of nouns in this sentence.
Output: 5