Input: Sentence: 'A young woman playing a piano in a dark room'. Count the number of nouns in this sentence.
Output: 3