If you would like to list all the pages in pagination you can add a parameter show_all_pages=true
for example,
<pagination show_all_pages=true
so instead of 1 2 3 ... 70 71 72, you'll get 1 2 3 4 5 6 and up to the end
<pagination show_all_pages=true
<pagination show_all_pages=true
Don't forget to run script update