The actions listed are the actions that are recorded in the replay. In many cases actions are recorded even if eventually they will not be executed. A good example of this is you select a probe and issue it to build a pylon somewhere far. It is recorded even if the probe dies on its way to the location where you issued it to build the pylon.
If you spam a train action (e.g. you hold down its hotkey), SC2 might record the train action multiple times, even though less train action might be executed eventually.