Input: Sentence: 'A giraffe walking in the open grassy land'. Count the number of nouns in this sentence.
Output: 2