cal num of lines of java