bit.count

Rust

.count_ones() を使う.

bit.count.cc