Add total_count to result