Question 22For each positive integer $n,$ let $S(n)$ denote the sum of the digits of $n.$ For how many values of $n$ is $n+S(n)+S(S(n))=2007?$$1$$2$$3$$4$$5$