c# program to count number of digits in a number