Input: Sentence: 'A young girl in a  dress holding something'. Count the number of nouns in this sentence.
Output: 2