I think the best definition of intelligence is something like: "the ability of an agent to maximize its rewards by taking actions in some environment." In this sense, you could quantify intelligence by the agent's total reward over some time window, or how fast an agent learned the optimal strategy.