Tommy Boy bags of candies that have 870 pieces in them if there are 10 pieces of candy in each bag how many bags did he buy​