Lists and dicts

This is for Python exclusively.

List of dicts: Get count of dict[value].value
Example:

Get the count of dicts where age == 30. Expected answer: 2

Search in list of dicts
Source: https://stackoverflow.com/questions/8653516/python-list-of-dictionaries-search

Example:

To retrieve Pam's age: