Extends millis to support reset count (occurs every 50 daysor so)