moved pop_count to its own separate module so that it is obvious it exists.