Input: Sentence: 'A woman smiles as she leans her elbow on a microwave'. Count the number of nouns in this sentence.
Output: 3