new progress calculator that actually counts lines by itself!