十拿九稳 Ten grasps, nine firm. Very sure of success. The Handian dictionary gives the example: “His grades are excellent. Getting into university should be a sure thing.”
心中有数 To have the numbers in one’s heart. To understand a matter and be sure of how to handle it. Its opposite is 心中无数, to have no numbers in one’s heart.