modified new line counter (input_output.js), added easy way to count new lines V. 2