TotalRankingsBolt: prune zero count rankings after each emit