Input: Sentence: 'A vase filled with water and pink roses'. Count the number of nouns in this sentence.
Output: 3