import collections


def GetTurnStats(game_results):
  """Returns a histogram of game lengths (in rounds played)."""
  hist = collections.Counter()
  for game_result in game_results:
    hist[game_result.num_rounds_played] += 1
  return hist