input: Write a python function to count the total number of characters in a string.
  assert total_characters("hello world") == 11
  assert total_characters("Python") == 6
  assert total_characters("a b c") == 5
output: def total_characters(s):
      return len(s)