just make a normal 1 byte register then add 1 to it and plug it back into the register, make sure the register is triggered by a clock rise or it would increase every tick