Input: Sentence: 'A woman smiling cleaning a glass in a kitchen'. Count the number of nouns in this sentence.
Output: 3