Input: Sentence: 'a woman pouring a glass of wine from a bottle'. Count the number of nouns in this sentence.
Output: 4