Using db.XX.count in pager to count results