Moved bloomCount to global static var.