fix bug : merge error with count