The number $S$ is the result of the following sum: $1 + 10 + 19 + 28 + 37 + \ldots + 10^{2013}$. If one writes down the number $S$, how often does the digit $5$ occur in the result?

Let's think step by step and output the final answer within \boxed{}.
user