Input: Sentence: 'Two giraffes sitting behind a fenced in area'. Count the number of nouns in this sentence.
Output: 2