moved counter cache generation to generate_order_data migration