I mean I have a greyhound who can countersurf, you just put baby gates around the kitchen and food. Keeping stuff out of snoot height/range removes most issues.
Part of it is training them that it isn't an appropriate thing to do. It usually helps that if they behave (and we're eating something the pup can safely have) they get a bit of food as a treat.
Training is a must and especially with a dog that big you need to make sure they know what is expected and appropriate. Doing that sets them up for success and makes it much easier to care for them overall.
When my aunt had a puppy, she set up a barrier to prevent the dog from going upstairs. It was low enough for humans to step over, but the puppy couldn't get over it. Amusingly, as the dog grew up, it never seemed to occur to it that it could now step over the barrier without much fuss.
I have an Akita that can do the same and is (mostly) very good about asking for permission / knowing he needs to be handed food.
I do feel like smaller dogs generally get minimal or zero training because people know they can just pick them up or otherwise stop them and it makes pet ownership worse for everyone involved.
I've lived with dogs this big. The trick is to train them when they're too small to see over the tables. When it comes to prepping food, you get used to setting meat further back on the counter or putting them outside
Lol I've always had food aggressive dogs but my current GSD is a saint by comparison. She doesn't really mess with our food and we have left food on our coffee table overnight more than once and she didn't touch it. Counter food is more than safe despite the fact that it would take her almost no effort to grab it.
The one exception is carrots. If we're chopping carrots and walk away they're as good as gone 😭
This is an area where size may not matter. Our first dog was an 11 pound mini poodle. He was so tiny, but he got huge air. We also had no way to dog proof.
My ex was fond of saying he got enough air to have time to slowly scan the counter.
My story was that he could be sitting nicely, seemingly behaved, but if you glance away, he could be standing on the table from a sitting leap
A Great Dane was the only dog that ever gave me a fight or flight response. When I was about 13 years old I visited my aunt & uncle and they were dogsitting a massive Great Dane. When I opened their door he was staring at me at eye level and I thought I was about to die, full adrenaline dump, the whole works. Then he started slobbering all over me and we became friends.
I don't like to say crass stuff like this, but in this case it's worth sharing: I've been tail-thwacked in the testicles by my happy dog, who's about this size.
That tail's lethal. We've lost drinking glasses, food and all sorts of knick knacks to an excited tail swipe. You learn to put things high up.
Some office I had installed internet for had an Irish wolf hound in a room with a California King sized bed in it and the dog took up at least half the bed. Biggest fucking dog I've ever seen.