Input: Sentence: 'There are two giraffes staring at the other giraffe'. Count the number of nouns in this sentence.
Output: 2