Input: Sentence: 'a table with a drink some flowers an ashtray and a pizza'. Count the number of nouns in this sentence.
Output: 5