count the number of true values associated with key 'success' in dictionary `d`,sum(1 if d['success'] else 0 for d in s)