public int countNumberOfMerges(int n){
		int count = 0;
		for (int i = 0; i < 4; i++) {
			for (int j = 1; j < 3; j++) {
				if (this.board.get(i, j) == n) {
					if (this.board.get(i, j) == this.board.get(i, j + 1)) {
						count++;
						j++;
					}
				}
			}
		}
	
		for (int j = 0; j < 4; j++) {
			for (int i = 1; i < 3; i++) {
				if (this.board.get(i, j) == n) {
					if (this.board.get(i, j) == this.board.get(i + 1, j)) {
						count++;
						i++;
					}
				}
			}
		}
		return count;
	}