Input: Sentence: 'Parasols of different colors hanging from tall trees'. Count the number of nouns in this sentence.
Output: 3