Input: Sentence: 'A tall giraffe standing up against a fence'. Count the number of nouns in this sentence.
Output: 2