Personally, I think that 24 is way too many for anyone, regardless of your stats. If you have a 2.5, applying to that many schools is not going to save you. If you have a 4.0, it clearly won't make a difference either. And if you're somewhat in the middle of the road, as you are, you're probably going to get some acceptances along with some rejections as long as you apply to at least three or four. It is foolish to apply to only one because admissions can be fluke-y, but I would say that any more than 10 is just a waste of money. If you get rejections from all 10 of them, I'd say it's a very safe bet that those other schools would have also rejected you and you simply need to improve your stats. [I'm not saying your stats are bad. Yours are decent.]
I actually applied to seven schools originally, even though I really was only considering three of them. I ended up turning down three interviews because I had already heard from a school I preferred. I had a $500 deposit due for a different one to save my spot which was due a couple months before I heard back from my top school, so I paid it just because I was freaking out even though my stats were pretty solid. My point here is that this admissions game is a source of extreme and irrational anxiety for some people, and it can lead to a lot of wasted money. I really regret having spent all that extra money just because I was freaking out. So if it were up to me, I'd think strategically about the schools I choose to apply to and make sure there's a variety (a few reach schools, a few safety schools) and cap it at ten. Also, make sure that these are actually schools you'd be happy attending! Don't add schools that have ridiculous tuition just to beef up your chances if you really can't see yourself with that debt.