Input: Sentence: 'A woman brushing her hair with a brush and seated in front of a mirror'. Count the number of nouns in this sentence.
Output: 5