count_mu_phase1 function

Median of phase1 references