fqe.bitstring.count_bits

Count the bit value in a bistring

string (bitstring) - a bitstring to count the bits of

bitval (string) - include the option to count unset bits

int - the number of bits equal to bitval