working on bit count