thank you for help adak,sganesh,Alexander jack,vart...
first adak thank you for your great idea and tips...i am really trying to put it in code...i know that my code is close...and it works for 1-digit...
second sganesh and Alexander jack if i got you right we misunderstand...i dont want to count how many times there was 1-digit and how many times 2-digit...i want to count number 1 as 1,number 2 as 2,number 12 as 12 not as only 2-digit....so my max length of number is 2-digit...there are number to 20...hope you understand me...