__builtin_popcount(x) - counts all non-zero bits in number