counter for counting wins