Topic: Bit Manipulation Problem / Level: intermediate

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

Run the code to see the output here...