metric.BitCount and tests
Merge pull request #110 from dosen/bitcount

metric.BitCount and tests