I realize there's precedent for this name, but juxtaposed against %count-*-zeros it seems like %count-ones might be better.  Just a thought...maybe if you're hacking at this level this is just one of the terms you know.