codice:
select sql_calc_found_rows * from tabella ..... limit x;
select found_rows();