I have found twoa viable solutionssolution:
Bi-directional Pistonless Counter
Signal strength memory
The second one is fasterIt does exactly what the description says, more compact and outputs directly as signal strength whileexcept the other"button" has 15 different binary outputsto be exactly 2 ticks or it will increase/decrease too much. A simple pulse shortener should sort that out.
Here is what it looks like as well as a layer breakdown: