Input: Sentence: 'a man showing off his cell phone to someone sitting next to him'. Count the number of nouns in this sentence.
Output: 3