Count the number of 1 bits (set bits) in the binary representation of a given integer n. Return the total count.