Input: Sentence: 'The man wears glasses and talks on the cell phone'. Count the number of nouns in this sentence.
Output: 5