Well, counter behaves in a predictable and known way, whereas the values of x are all over the place. More relevantly, in order to arrange the numbers into three columns, you need some way of counting how many values have been printed in a column, and the counter fulfils exactly that requirement.