I don't have a set amount of defense rounds before I trust the gun.
Usually with a new gun, that I might use for defense, I fire a good bit of ammo through it. I shoot mostly my reloads but will try any other loads I have handy.
I've found if a gun doesn't like a particular load or bullet style it will let you know in a magazine or two and if a gun is a jam-a-matic it will quickly let you know that to.
So rather than shoot a hundred or two of expensive defense loads at one time, I'll mix in a mag or two during a shooting session. If the gun jams one time on a prospective defense load than I'll try something else.
The only important rounds you will fire are the first ones to come out of your defense gun when you need it.
What I do is preform a test whenever I'm going to practice with that gun.
It's probably been loaded and a round in the chamber, maybe for the last couple months.
I say to myself, "let's see if the gun would have worked", and I fire it empty of the defense rounds. Then I'll go about the normal practice.
Now you know that if you had needed it, it would have worked.
Or even as important, that it would have jammed when you need it.