def count_bankrupt_players(players):
    """
    Counts how many players have been bankrupted.
    :param players: list, players that are playing the game.
    :return: int, number of players that are bankrupt.
    """
    counter = 0
    for player in players:
        if player.bankruptcy_status:
            counter += 1
    return counter