Merged ChestCounter source.