Input: Sentence: 'A pair of giraffe standing in a forest'. Count the number of nouns in this sentence.
Output: 3