More importantly, most Open Source projects encourage and welcome reporting vulnerabilities.
Various closed source vendors discourage that even to the point of suing people for reporting vulns while keeping known ones secret.
Well doesn't apply (AFAIK) to OS vendors like Microsoft. They actively encourage, and pay for, security bug reports.
In 2013 they paid out $100k to a single researcher for a set of bug reports.
So I don't think in a comparison of OS-->OS bugs that factor would really apply
Windows and OSX cover large areas of functionality not really covered by the linux kernel (e.g. windowing systems) and the Linux kernel covers a wider range of devices than Windows or OSX so will have more a larger driver base.