get count of values associated with key in dict python,sum(d['success'] for d in s)