Input: Sentence: 'A large elephant is standing behind a fence'. Count the number of nouns in this sentence.
Output: 2