Tally r←≢y

r is the amount of major cells of y.