Input: Sentence: 'A white cow makes a face as he stands near a stone wall'. Count the number of nouns in this sentence.
Output: 4