Input: Sentence: 'A giraffe in it's natural habitat on a sunny day'. Count the number of nouns in this sentence.
Output: 3