A volume of 999 pages needed 2889 digits. Since the total is 2989, the total number of pages will be: 2889 + 4(x - 999) = 2989.