ENH: add faster boolean count by using wider data types

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