fix cum count in ranking