I tried everything from the internet. none of them working!!
here is a 2 bit counter... its not the most optimized way but its in theory 2jk fliplops daisy chained.. in this one, i didnt group any elements together, just used the basic original (AND and NOT) also the clock is built in that can be found in the library
of course, we can improve on it, group it up and make it 4 bit
peaking through the 4b counter block you see
Peaking through a JK-FF you see
inside of an SR latch
and inside a NOR
depends on what you are optimizing for. for example using D flip flops uses less "basic" components than a jk flipflop. but in general I meant improvements more than optimization, things like you can add a reset pin and a preset input which would make the counter much more useful. for example as a program counter that supports jumps.