This is a circuit I made on a breadboard that counts from 2 to 6 repeatedly. It uses NAND ICs and a seven segment display. Each segment is controlled by a different part of the circuit. This counter was more of a challenge than a traditional 0-7 counter because the digital flip flops had to be wired to reset at a different value than the default (zero).