Input: Sentence: 'There are two giraffes together one is standing up while the other is laying down'. Count the number of nouns in this sentence.
Output: 1