count_gap