Added support for tracking the number of times a given action was performed each episode.