DigitCount¶ Counts occurrences of each digit in a number. $ wo 'DigitCount[1234]' {1, 1, 1, 1, 0, 0, 0, 0, 0, 0}