Input: Sentence: 'Fresh pizza and wine on an outdoor table'. Count the number of nouns in this sentence.
Output: 3