import collections


def GetWinsByPositionStats(game_results):
  """Returns a histogram of wins by seat position."""
  hist = collections.Counter()
  for game_result in game_results:
    for winner_idx in game_result.winners:
      hist[winner_idx] += 1
  return hist