Input: Sentence: 'A bedroom scene with focus on a bed and a teddy bear'. Count the number of nouns in this sentence.
Output: 6