When he jumps up onto the counter in search of food, put a dog treat in front of his nose. When you have his attention, use the treat as a lure to guide him off the counter and onto the floor, saying “Off.” When his feet hit the ground, say “Yes” (or click) and give him the treat.