wilderness - 12:15 pm on Aug 30, 2013 (gmt 0)
When you download ip info from arin, ripe etc and import it in the database you are more on autopilot for blocking countries.
Potentially speaking, simply downloading and importing Country-designated-IP's into anything, explains the possibility of 40k in IP's.
Theoretically, you could utilize about two-Dozen Class A's alone and reduce that 40k by 50-60% perhaps even more.
Course the Class A reduction is all dependent upon the specific of your website (s) and what visitors you cater to.