my dog did it once.
I was outside calling in one of my cats, and he bolted out the door, ran around in the neighbor's horse field.. from which my bf had to climb through the fence in his pj's on a sunday morning to catch the dog - in horse poo….all the while I'm still trying to get the cat... my bf puts the dog in the house, and suddenly I see a little wrinkly face in the kitchen window...the window over the counters! he decides to hop up on the counter after running through horse crap... ugh. I pretty much lost it.
so after that, I booby-trapped my counters. I balanced small coffee cans of pennies on the edge. (half on, half off - so if he tried again, it would fall)... he tried, a can fell, scared the bajeezes out of him and he hasn't done it again.