def count_evens(start, end):
  """Returns the number of even numbers between start and end."""
  counter = start
  num_evens = 0
  while counter <= end:
    if counter % 2 == 0:
      num_evens += 1
    counter += 1
  return num_evens