Simplify number of lines counting a bit.