Counting the frequency of dice rolls results