I also would prefer %count-ones for the function name.