A 3-bit synchronous counter that counts from 0 to 7.