If I understand your question, then there are 21 such numbers as far as I could tell as follows:
(1222, 2122, 2212, 2221, 11122, 11212, 11221, 12112, 12121, 12211, 21112, 21121, 21211, 22111, 111112, 111121, 111211, 112111, 121111, 211111, 1111111)>>Total = 21 such numbers