def _estimate_count(self):
if self.estimate_z == <NUM_LIT:0>:<EOL><INDENT>self.estimate_z = (<NUM_LIT:1.0> / self.nbr_bits)<EOL><DEDENT>self.estimate_z = min(self.estimate_z, <NUM_LIT>)<EOL>self.count = int(-(self.nbr_bits / self.nbr_slices) * np.log(<NUM_LIT:1> - self.estimate_z))<EOL>
Update the count number using the estimation of the unset ratio