Returns table with number of digit repetition in number