Code sorts Goodreads exported data (CSV) and read out the page count per unique bookshelf.
If you have your books sorted by bookshelf (barring the defaults on Goodreads), this tool will help you to determine how many pages are in each bookshelf. This is done with the exported values from the goodreads website.
To run the code, download the .py file above and fill in the file path for the downloaded Goodreads data. Then you can run it from your favorite python interpreter or IDE.