public int canPlayAtCnt(int city, int round, boolean home, int consecHome, int conseqRoad) {
		int roundBeforeLast = round - 1;
		// check relevant games
		// consecHome = 3  => if last 3 games were at home, we can't play at home any more
		int cnt = 0;
		for (int i=roundBeforeLast; i > (roundBeforeLast - (home ? consecHome : conseqRoad)); i--) {
			if (i < 0) { // we want back before the history has started, therefore the constraint can't be already violated
				break;
			}
			Game game = getGameOfCityInRound(city, i);
			boolean playedAtHome = game.playAt(city);
			if ( (!playedAtHome && home) || ( playedAtHome && !home) ) {
				break;
			}
			cnt = cnt+1;
		}
		return cnt; // condition above not hit, so all were at the bad location
	}