For applying the Judges Pensions Act to a former chairperson under this subdivision, the following are to be counted as a period for which a person held office as the chairperson—
(a) any period, before the person’s appointment as the chairperson, that would be counted as service as a judge for the purposes of the Judges Pensions Act ;
(b) any period, before the person’s appointment as the chairperson, for which the person acted as the chairperson.