That's a great question.
I used to think: hands alone, perfect, 5x. Then, hands together perfect 10x.
Now I think the above AND being able to play it as part of playing the entirety of the piece when I have a head cold and haven't slept well, and then still being able to play it perfectly.
A personal anecdote: My teacher has a quarterly musical evening where all the adults play for one another. I was scheduled for outpatient sinus surgery the day before, and told her that I thought I wouldn't be able to play. She insisted, saying that if I were a professional, I would be expected to perform.
I did..and I played just as well as I did prior to the surgery. She had me work those pieces so thoroughly that I could play despite being whacked out on painkillers (though, come to think of it....perhaps being whacked out on painkillers was the key to that smooth performance!)