A math book has N pages. The first page has page number 1. If all page numbers contain 6869 digits in total, what is the sum of digits of N? For example, if a book has 11 pages, pages numbers contain 9+2+2=13 digits in total.
a) 19
b) 20
c) 21
d) 22
e) 23