Input: Sentence: 'A young teenager in glasses smiles while brushing her teeth'. Count the number of nouns in this sentence.
Output: 4