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