We can probably just use `popcount` to implement this
We can probably just use
popcountto implement this