Input: Sentence: 'A giraffe standing next to a stone wall'. Count the number of nouns in this sentence.
Output: 3