input: Write a python function to calculate the length of a given string.
  assert string_length("hello") == 5
  assert string_length("world!") == 6
  assert string_length("python") == 6
output: def string_length(s: str) -> int:
      return len(s)