Input: Sentence: 'A giraffe walking through tall brown,dry brush on a sunny day'. Count the number of nouns in this sentence.
Output: 3