Type a letter in the box and the corresponding number will be displayed in the counter. If you type more than a letter it will come up with "-1".
I just made a list by typing each letter on a different line of the list object. Then I set the counter to get the correspondong line number of the edit box string. Note that the list object is 1-based.