The pages of a book are numbered with 576 digits, starting with page 1. How many pages are in the book?

(Source: Adapted from Mathematics Teaching in the Middle School, Nov-Dec 1995)