Input: Sentence: 'Many teddy bears are displayed in front of the trees'. Count the number of nouns in this sentence.
Output: 4