Question: how to train dog not to jump up on counters?
Answer: When he jumps up onto the counter in search of food, put a dog treat in front of his nose. ... 
When his feet hit the ground, say “Yes” (or click) and give him the treat.
After practicing this exercise three or four times, say “Off” instead of placing a treat in front of his nose to lure him off.