The formula for "Total required RNG advances" is target frame - number of wandering Pokémon - 1.
For my wondercard
My target frame is 3, I have a Mesprit as the only pokemon wandering then I subtract the 1 gives me 2
So I just switch to my "Caught a pokemon page" then exit the Journal and...