This can be easily done by nothing that, for a binary counter, any given digit changes its value (from 1 to 0 or from 0 to 1) whenever all the previous digits have a value of 1.
Large (. 25" high), easy to read 6-digit non-resettable totalizing counter. Provides precise indication of current consumed. Ideal for metal thickness control monitoring."