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