Input: Sentence: 'A brown table holding a vase and three flowers'. Count the number of nouns in this sentence.
Output: 3