Fix page count calculation getting invalid values (fix #979)
Fix page count calculation getting invalid values (fix #979)

Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber