public int autoPromoteUnhandledCount()	{
		int count = 0;
		String query = "SELECT COUNT(*) AS `playercount` FROM `" + TableName(TableType.AUTOPROMOTE) + "` WHERE `handled` = ?;";
		PreparedStatement statement = null;

		Connection connection = getSQLConnection();
		if ( tableExists(TableType.AUTOPROMOTE) ) {
			try	{
				statement = connection.prepareStatement(query);
				statement.setBoolean(1, false);
				
				ResultSet result = statement.executeQuery();
				
				if (result.next())
					count = result.getInt("playercount");
				statement.close();
			connection.close();
			} catch (SQLException e) {
				printStackError("MySQL unhandled count error", e);
			}
		}
		return count;
	}