Input: Sentence: 'An adorable giraffe walking along a dirt road at a zoo'. Count the number of nouns in this sentence.
Output: 4