Magento
Magento: update a attribute value base on product orders
You may Run this code on list page: This code will update the attribute value based on all order after run this code remove the code and the next code in success.phtml: increment the attribute value on each orders: