Input: Sentence: 'A colorful glass vase is casting a shadow'. Count the number of nouns in this sentence.
Output: 3