MySQL menghitung newline di lapangan
select LENGTH(my_column)-LENGTH(REPLACE(my_column, '\n', '')) as total_new_lines
Friendly Hawk
select LENGTH(my_column)-LENGTH(REPLACE(my_column, '\n', '')) as total_new_lines