Incrementally keep track of the total number of pieces for targets without native popcount.