private int getActiveContestantCount(RobotPeer peer) {
		int count = 0;

		for (ContestantPeer c : contestants) {
			if (c instanceof RobotPeer) {
				RobotPeer robot = (RobotPeer) c;
				if (!robot.isSentryRobot() && robot.isAlive()) {
					count++;
				}
			} else if (c instanceof TeamPeer && c != peer.getTeamPeer()) {
				for (RobotPeer robot: (TeamPeer) c) {
					if (!robot.isSentryRobot() && robot.isAlive()) {
						count++;
						break;
					}
				}
			}
		}
		return count;
	}