The Counter Electrode serves two crucial roles, it completes the circuit and maintains electrical neutrality and it protects the reference electrode from any other potential changes.
The main function of CE is to promote electron flow while minimizing any undesirable polarisation effects.