Added count lines method and progression text