I managed to do it by just counting them 10 at a time. Goes pretty quick.

I tried counting all the stuff unlocked in my collection to see if that's where it got the number 217 from, but that's not it either, unless i miscounted. That's still 28 character slots that just mysteriously dissapeared though, which is pretty weird. Can't really sell all characters to see what happens.