add infinite_pages option 

which does nt call sql count (useful for really large recordsets using complex sql statements)
it might take a long time to finish sql count operation 
drawback: you cannot identify last_page