TBloomFilter: fixed an index-out-of-bound error, implemented Count()