My two cats would jump on the worktops at night. To deter this behaviour I invested in a Ssscat unit. This works brilliantly although the range is sometimes a bit iffy so I suggest that you experiment to ensure that you position it to give the detection coverage that you require.
However...the spray runs out very quickly, definitely in less than 170 bursts. This caused me to become a bit of a kitchen ninja - slinking around the range perimeter to reset the unit without wasting puffs.
I highly recommend that you hunt around for the improved unit that emits sound as well as spray - that way once your cat, like Pavlov's dog, starts reacting to the sound, you can turn off the spray component and save on the cost of refills.
In summary: great concept but a bit mean on canister volume/duration.