Updated the solver to keep a separate trial count for each of the separate actions.