> get total count of specific digit(0~9) from 1 to number https://www.acmicpc.net/problem/14912 **Example** ```js > getDigitTotal(10, 1) > 2 // 1 = 1 // 2 = 0 // ... // 10 = 1 ``` ```js > getDigitTotal(11, 1) > 4 // 1 = 1 // 2 = 0 // ... // 10 = 1 // 11 = 2 ```