function countAvailableServer($lobbyLogin, $scriptName, $titleIdString)
	{
		return $this->db->execute(
				'SELECT count(MS.login) FROM MatchServers MS '.
				'WHERE MS.lobbyLogin = %s AND MS.scriptName = %s AND MS.titleIdString = %s '.
				'AND MS.`state` = %d AND matchId IS NULL '.
				'AND DATE_ADD(MS.lastLive, INTERVAL 20 SECOND) > NOW() ',
				$this->db->quote($lobbyLogin), $this->db->quote($scriptName), $this->db->quote($titleIdString),
				\ManiaLivePlugins\MatchMakingLobby\Match\Plugin::SLEEPING
			)->fetchSingleValue(null);
	}