If n ends in exactly t nines, adding 1 turns those nines into zeros and raises the next digit by 1, so S(n+1)=S(n)+1−9t. If 11 divides both digit sums, then 11∣9t−1. Since 9⋅5=45≡1(mod11), this means t≡5(mod11). A number below 108 has at most 8 digits, so t=5. Conversely, if t=5 and 11∣S(n), then S(n+1)=S(n)−44 is also a multiple of 11.
So we count n<108 that end in exactly five nines and have 11∣S(n). Write n=106m+105e+99999 with 0≤m≤99 and 0≤e≤8. Then S(n)=S(m)+e+45, and we need S(m)+e≡−45≡10(mod11). Since 0≤S(m)+e≤18+8=26, the requirement is S(m)+e=10 or 21.
Let N(s) be the number of m∈{0,…,99} with S(m)=s. Then N(s)=s+1 for s≤9 and N(s)=19−s for 9≤s≤18, and N(s)=0 for s>18. Summing over e=0,1,…,8: e=0∑8N(10−e)=9+10+9+8+7+6+5+4+3=61,e=0∑8N(21−e)=0+0+0+1+2+3+4+5+6=21. The total is 61+21=82. (The bound n<107 would leave only 8 such numbers. Missing the case S(m)+e=21 gives 61.)