Fix initial linecount