Write a function to count the digits of given number?
Login to Submit
Input: 12 Output: 2 Input: 341 Output: 3 Input: 83745 Output: 5