"There are security bugs" does not mean "pile of crap". Everything has security bugs. The question is how bad they are and how much it costs to buy a zero-day / the use of a zero-day.
I agree that everything has security bugs. It's pretty much inevitable. But, one platform has nearly 5.5 times the security issues of the other. So, if you're using security issues to correlate what a "pile of crap" is than you need not look further than iOS.