Add value result_amount to lib_pagination.php