Input: Sentence: 'A bear stands in front of a large fallen tree'. Count the number of nouns in this sentence.
Output: 3