add method for SQL_CALC_FOUND_ROWS