input: Write a python function to calculate the length of a list.
  assert list_length([1, 2, 3, 4, 5]) == 5
  assert list_length([]) == 0
  assert list_length(['a', 'b', 'c', 'd']) == 4
output: def list_length(lst):
      return len(lst)