Input: Sentence: 'A laptop, mouse, cell phone and a notepad sitting on a table'. Count the number of nouns in this sentence.
Output: 6