input: Write a python function to count the number of digits in a given number.
  assert count_digits(12345) == 5
  assert count_digits(1001) == 4
  assert count_digits(9876543210) == 10
output: def count_digits(number):
      return len(str(number))