Fix and test counting Bloom filter.