Returns a list of the number of times each preference is given.

def getPreferenceCounts(self):
        """
        Returns a list of the number of times each preference is given.
        """

        preferenceCounts = []
        for preference in self.preferences:
            preferenceCounts.append(preference.count)
        return preferenceCounts