floor(log10(n) + 1);
static int digitCountOf(int number){
return number.ToString().Length;
}
function getlength(number) {
return number.toString().length;
}
let number = 152121
return number.toString().split('').length // -> 6
// Hey, it's 6 digits!
#include <bits/stdc++.h>
using namespace std;
//use c++ 11
int main(){
string n;
cin>>n;
int s = stoi(n);
if(s<0) cout<<n.size()-1;
else
cout<<n.size();
return 0;
}