input: Write a python function to count the number of characters in a string.
  assert count_characters("hello")==5
  assert count_characters("openai")==6
  assert count_characters("")==0
output: def count_characters(s: str) -> int:
      return len(s)