fix counting, ignore bin