Input: Sentence: 'a man sitting at a table outside a cafe talking on a phone'. Count the number of nouns in this sentence.
Output: 4