Add choiceFrequency function to count player choices