Function for counting number of set bits?

count_ones is your friend :slight_smile:

6 Likes