input: Write a python function to count the number of characters in a given string.
  assert count_chars("hello")==5
  assert count_chars("Python")==6
  assert count_chars("")==0
output: def count_chars(s):
      return len(s)