count empty consecutives data sets