find word length

Script logic is as follows: a) First read number into a shell variable b) Next get one digit at a time c) Use simple case control structure and loop to find digit equivalent in words Sample script to convert numbers into equivalent words 1097680037666fefa9bdafc_000000