Input: Sentence: 'A little girl holding a teddy bear'. Count the number of nouns in this sentence.
Output: 3