Use cell.prompt_number rather than cell['prompt_number']