Glad he's okay, but I wouldn't encourage him eating those, you just never know, and the thing is that they are so small and don't weigh much, so it doesn't take much at all to really make them sick or worse.
It's a good idea to run to Walmart or a drug store and buy a bottle of activated charcoal to keep on hand for anytime he might eat something, it's hard to stop them most of the time, they're quick! Activated Charcoal is typically what an emergency vet would administer if you took him to an animal hospital anyway, so better you can administer it earlier on just after he eats something. I keep a bottle in my beardie first aid kit and my bird first aid kit both.