Input: Sentence: 'A number of brown and blue cones of ice cream'. Count the number of nouns in this sentence.
Output: 4