calculate_trial_mean_count function

Calculate Trial Mean Count Data