Utility method to count how often each value of a die appears in a list of values.
Authored by: josefjordan 2022-09-12
Parent: [r368]
Child: [r370]