How To Count Digits In A Number In Python