Input: Sentence: 'A woman stands in front of the mirror to take a picture'. Count the number of nouns in this sentence.
Output: 4