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.
Merge pull request #3894 from juliantaylor/count_bool

ENH: add faster boolean count