Suppose a creature is equipped with Spy Kit, and Oddly Uneven gets cast. Then in order to figure out whether the creature is destroyed, I need to determine whether the total number of words in all names of non legendary creatures is even or odd.
What is the best way (i.e., simplest database query) to accomplish this?
(This originally came up on Mark Rosewater's tumblr.)