How an advanced hockey stat measures luck in the NHL