How many parts does my Toyota Echo have? It's stone reliable at 162K miles with only routine maintenance. Parts count means SQUAT.
I've been saying the same thing myself for years. It's not the number of parts, but the quality of materials, design manufacture, etc that really matter.
Both platforms, if in good shape and properly cared for, should give years of trouble free service. I would say though that as the size of the gun shrinks, revolver reliability stays about the same whereas tiny pocket autos
can be pretty finicky.
The biases go both ways.
Revolver guys are ingrained to believe that brass chucker choke every few rounds as a given.
OTH, some auto shooters think that ejector rods backing out is something that happens every few cylinder fulls.
BTW, the only revolver this happens on (about every 200 rounds) is my K-22 / M17-0 .22 LR, with it's right hand thread ejector rod - S&W reversed the thread around around 1959, so the act of the cylinder turning would generally act to
tighten the ejector rod. I think that is one of the few changes S&W made over the years that all S&W traditionalists would acknowledge as being a real improvement in design.
As for stoppages, gun per gun, round per round I have had more auto failures. I can also induce failures in polymer guns very regularly with a "limp forearm". And most of the revolver failures were ammo related (dud primer in my reloads mainly, but a couple of times with factory ammo too).
I've experienced only one failure that turned the gun into a club, and it happened with an auto (ejector broke off and and jammed the slide in the partially open position - the slide and frame may as well have been welded together). I had a turd of a Taurus 94 (.22 revolver) that
almost tied up completely; the gun could not be fired DA but the SA function worked. Gawd, that gun was a pile.
All in all, I'm most confident and comfortable with revolvers, but that did not stop me from buying a CZ-75 a few weeks back. I may even carry it one day if it proves reliable and I can shoot it well.