Input: Sentence: 'A woman snarls while eating on a banana'. Count the number of nouns in this sentence.
Output: 2