Sum elements of a struct

This seems like an XY problem. What are you actually trying to represent with your data structure here?

3 Likes