Fix price calculation

Set price to totalPageCount * pricePerPage instead of just totalPageCount