find the binary number more number of 1's in a given range code example
Example 1: bit counting
countBits = (n) => n.toString(2).split("0").join("").length;
Example 2: find no of 1's in a binary number
len(''.join(str(bin(122011)).split('0')))-1