Incredible. They can count, they can use tools, they make motivational trade-offs, can be trained, have memories, etc. At this point, I'd be more surprised to learn they don't feel pain than that they do.
www.theguardian.com/environment/...
Insects join list of species capable of solving simple ‘box-and-banana’ problem that demonstrates basic intelligence