huffman: add a zero_count flag and use it in fraps