............Besides eating it that it. Andrew is on an allergen free diet. And even if you aren't, all that candy is BAD for you! OK this list isn't 101 ways. Feel free to add some ideas in the comments. I'll gladly add them to the list.
Estimate how many pieces of candy
Estimate how many types of candy
Estimate how many 'm&ms' or 'nerds' are in a box
Read the wrappers
Tell jokes from the Laffy Taffy wrappers
Build a Candy City
Pretend Jumba and Lilo (or whoever) are eating them.
Talk about what they 'look like': ie: a tootsie roll looks like an eraser, or it could be used as playdough....
Practice fine motor unwrapping the candy
Smush the tootsie rolls before you practice your handwriting (then throw them away.)
Play 'nerd' (or M&M) tic-tac-toe
skip count using candy
graph who got what and figure out percentages
graph candy type and figure out percentages
weigh all the candy (again - could do percentages)
weigh each type (and percentages)
compare the heaviest amount of candy to the actual 'amount' of candy