This function counts the total number of items across all conditions and trials to determine the size needed for pre-allocation.
calculate_total_rows(sim_results, first_trial_col)Integer, total number of rows needed
The output from run_simulation(), a list of conditions
Name of the first trial column to use for counting