Input: Sentence: 'A large amount of animals standing around in a fence'. Count the number of nouns in this sentence.
Output: 3