My cats learned they aren't allowed up there. Though every once in a while when we weren't home I'd catch one of them up on the counter over the security cam. Miss that Lil shit.
No matter how many times I tried getting my cats to stay off the counter, I never could. When I was out of the room or left the house, they’d go right up. Now, my cat had a stroke a few years back and is partially paralyzed, so she can’t make the jump to the counter anymore. I wouldn’t recommend this strategy, though.