add count to -sum_by_table_count