Input: Sentence: 'Two adult giraffe walking in tall grass near a mountain'. Count the number of nouns in this sentence.
Output: 4