Input: Sentence: 'A teddy bear with a silver dress is sitting in a pile of crafting supplies'. Count the number of nouns in this sentence.
Output: 5