input: Write a python function to count the number of digits in a number.
  assert count_digits(8594) == 4
  assert count_digits(123) == 3
  assert count_digits(0) == 1
  assert count_digits(10000) == 5
output: def count_digits(number):
      return len(str(number))