pgm 22.7, rle: initialize run length counter 'occurrences'