optimized tanimoto and count methods to use the assembly built-in function popcount