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