Implemented measure_string_line_count