Count The Number Of Digits In Python