Any hints on how to make layer invisible to opponent

Is there a way to make a layer–or any number of layers–invisible to opponent? The counter itself should be visible.

The only idea that I have is to lay out traits as follows:

BASIC PIECE
INVISIBLE LAYER_1
INVISIBLE LAYER_2
INVISIBLE TRAIT
LAYER WITH ACTUAL COUNTER

Complicated and convoluted. Given that not all counters will need invisible layers this adds unnecessary complexity. Any other ideas?

I would probably experiment with basic piece, layer1, layer2, mask.
The mask would show what everyone else would see, and I’d define it as “plain.” I might have to duplicate the mask in the basic piece depending on what I needed.