I am compiling the BrainBashers world almanac and it now contains quite a few pages. But just how many?

I know that it takes 121 digits to print all of the page numbers in sequence.

So, how many numbered pages does the book have, and how many times does the number 9 appear?