Input: Sentence: 'Carved bird with decoration standing in a window'. Count the number of nouns in this sentence.
Output: 3