If you count all generic detections it goes far far beyond 40k. But this is a very estimated number. You cannot predict how many malware can be detected with GEN detection or maybe heurstics.