NumberUtil.digitAt digit starts from 0
Implement Iterator.count