Input: Sentence: 'Two men are feeding a giraffe in a stall'. Count the number of nouns in this sentence.
Output: 3