Sketch Improvement Advice. Basic Encoder LCD Counter

You haven't really specified the desired output format completely.