public int countDirection(Board board, char token, int column) {
		int[][] direction = { { -1, 0 }, { -1, 1 }, { 0, 1 }, { 1, 1 },
				{ 1, 0 }, { 1, -1 }, { 0, -1 }, { -1, -1 }, { -1, 0 } };
		int j = board.getTopPosition(column);
		int count = 0;
		for (int i = 0; i < 4; i++) {
			if (verifyIn(board, column + direction[i][0], j + direction[i][1])
					&& verifyIn(board, column + direction[i + 4][0], j
							+ direction[i + 4][1])) {
				if (board.get(column + direction[i][0], j + direction[i][1]) == token
						|| board.get(column + direction[i + 4][0], j
								+ direction[i + 4][1]) == token) {
					count++;
				}
			} else if (verifyIn(board, column + direction[i][0], j
					+ direction[i][1])) {
				if (board.get(column + direction[i][0], j + direction[i][1]) == token) {
					count++;
				}
			} else if (verifyIn(board, column + direction[i + 4][0], j
					+ direction[i + 4][1])) {
				if (board.get(column + direction[i + 4][0], j
						+ direction[i + 4][1]) == token) {
					count++;
				}
			}
		}
		return count;
	}