Topic: Bit Manipulation Problem / Level: intermediate

Problem: Create a function that counts how many numbers can be represented using the bits of a binary number.

Run the code to see the output here...