Compare that to the almost 2 million malware for that other platform.
Okay, let's compare.
"Malware" is something that you installed (usually by being tricked into installing it, but you still did it). It is not "self-installing, self-transmitting, self-replicating".
I thought that was what I just did. 18 known malware for the Mac OSX system that can attempt to "trick you into installing it" only to have the System itself warn you about it without installing any anti-malware from a third party... Vs. Thousands of malware on Windows that requires you install a third party anti-malware coat of armor for protection.