Actually not strictly true. As with Linux and other less popular OSs, there are viruses out there and there are also AV packages available, but just like anything else in software, the biggest 'market' gets targeted first so to speak. It's not, as some Mac users claim, that the Mac OS is any more secure. It's just as you said - popularity.
_________________________
Charlie