Implement counting and spectral Bloom filters.

Completely untested, but the major code is there.