DigitCount
DigitCount[n,b,d] gives the number of d digits in the base-b representation of n.
DigitCount[n,b,d,len] gives the number of d digits in the base-b representation of the last len digits of n.
DigitCount[n,b] gives a list of the numbers of 1, 2, …, b-1, 0 digits in the base-b representation of n.
DigitCount[n] gives a list of the numbers of 1, 2, …, 9, 0 digits in the base-10 representation of n.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.