Ex: My query total count was 100. But while displaying, based on requirement we need to display only 80 items.
So when I use theme('pager') in template, I got result for 100 which is wrong. We need to display pager for only 80 items.