Extracts, counts and processes individual digits.