Input: Sentence: 'Man operating a frozen confection cart talking on a cell phone in the shade'. Count the number of nouns in this sentence.
Output: 6