Write a function that takes a non-negative integer and returns the count of bits that are set to 1 in its binary representation.
For example:
On March 6, several significant events in technology and computing have taken place over the years. Today, put your bit manipulation skills to the test and contribute to this legacy of innovation!
Good luck!