Technically, just the number of bits with value=1 in the least significant 13 bits of the number. If an int is 16 bits, the top 3 bits are not considered.
The value 5 (binary 0101), would return a result of 2. The value 8 (1000) would return a result of 1. The value 15 (1111) would return a result of 4.