then select the counter and create a mask from that selection [...] and apply it to the folder with all the sprites that should be affected, so that any part of the sprite that is behind the counter will not be drawn
What exactly do you mean with "all the sprites"?
Well, personally I would do it as well with different characters, but that's a personal preference.
But if you look for simplicity -if that's what ManicMatt asked for-, and you have only one sitting position, then as Ali pointed out, pre-masking the character is the easiest solution,
because you do not have to create a second character and animation.
If you have the arms separately in your image editor, you can pre-mask the character sprite using the table mask as you described, and just layer the arms on top of the cut out character.
So that eventually you have only one single animation and character for the table animation.