Add count intervals with mergesort