Read the following passage and solve the questions based on it.
B, C, D, F, G, H and J are seven students studying in three colleges P, Q and R. Among them are three boys and four girls. There is at least one boy and one girl in each college. Three of them are in the Commerce discipline and two each in Arts and Science. B and her sister G are in the Science discipline but in different colleges. F studies Arts in college Q and he does not study with either J or C. D is not in the Commerce discipline and he studies in college R, only with B. All the three from the Commerce discipline do not study in the same college. H studies in the same college with her friend G.
To number the pages of a large book, the printer used a total of 1890 digits. How many pages are there in the book?