input: Write a function to count the number of digits in a number.
  assert count_digits(12345) == 5
  assert count_digits(-9876) == 4
  assert count_digits(0) == 1
output: def count_digits(number):
      return len(str(abs(number)))