alias num_pages to total_pages

for compatibility with kaminari's paginate helper