python: sum values in a dictionary based on condition,sum(v for v in list(d.values()) if v > 0)