Input: Sentence: 'Children standing in the woods near a train'. Count the number of nouns in this sentence.
Output: 3