i want to show total rows of filtered results as the same thing we can achieve with paginate() like $users->total()
this total() function is available for paginate not simplePaginate() and i need simplePaginate()
already explained in my question. there is time issue. paginate() runs two queries and each take separate time (200ms each) and i want to save time as i can. if there is no solution, then I will obviously go with paginate()