ENH: add faster boolean count

about 3-5 times faster on 64 bit machines, about 2 times faster on i386.