input: Write a Python function to calculate the number of characters in a given string.
  assert count_chars("python programming")==18
  assert count_chars("language")==8
  assert count_chars("words")==5
output: 
  def count_chars(s):
      return len(s)
  