add infinite_pages option which does nt call sql count (useful for really large recordsets) drawback: you cannot identify last_page