Input: Sentence: 'A couple of giraffe standing next to each other near  a fence'. Count the number of nouns in this sentence.
Output: 3