How are you supposed to correct/train a behavior when you AREN'T THERE TO SEE IT?
You teach a dog that counter surfing doesn’t work and eventually they don’t put effort in to it. Trick is, you have to teach it in a way that the dog makes the choice without outside influence, without knowing he will be reprimanded or punished for it. That’s the thing about *self* control, it has to come from within, the dog has to actively choose -on his own- to not take the food/resource/whatever.