Sam writes down the numbers $1,$ $2,$ $\dots,$ $315,$ $316,$ $317,$ $\dots,$ $248,$ $249,$ $250.$
(a) How many digits did Sam write, in total?
(b) Sam chooses one of the digits written down at random. What is the probability that Sam chooses a $2$?