Xena was a counter surfer when we 1st got her. I took 5 empty soda cans, put 6 or so pennies in each one, taped the opening (so the coins wouldn't fall out & be eaten), tied them together & stacked them pyramid style. I then tied the bait (in this case, a hot dog bun) on a longer string attached to the pyramid & set the bait close to the edge of the counter and walked away. She goes after the bait, which pulls the cans down & makes a loud, frightening racket. The dog associates this with the unwanted behavior, and not with you. We had to do this several times, but she (mostly) stays away from the counter now. Good luck!
Cricket