# ended up with var total = 0 for v in copies.values: total += v