setup counters for each line

counter to produce chars for each line