I am trying to count the number of times a value is repeated in a dictionary.
Here is my code:
bookLogger = [
{'BookName': 'Noise', 'Author': 'Daniel Kahneman', 'Process': 'Reading' },
{'BookName': 'Hunting Party', 'Author': 'Lucy Foley', 'Process': 'Reading'},
{'BookName': 'Superintelligence', 'Author': 'Nick Bostrom', 'Process': 'Not Reading'}
]
So, I'd want to count 'Reading' for example, so that it prints:
Reading = 2
Not Reading = 1