Counters In Sequential Circuits