#K65512. Count the Number of Digits
Count the Number of Digits
Count the Number of Digits
This problem requires you to compute the number of digits in the decimal representation of a given non-negative integer. For a positive integer \(n\), the number of digits can be computed as \(\lfloor \log_{10}(n) \rfloor + 1\). Note that the special case \(n = 0\) should return 1 since 0 has one digit.
Your task is to read an integer from standard input and print the number of digits to standard output.
inputFormat
The input consists of a single non-negative integer \(n\) provided via standard input.
outputFormat
Output the number of digits in the decimal representation of \(n\) via standard output.
## sample0
1