Given a set of numbers $S=\{x_1,\dotsc,x_{|S|}\}$, where $|S|$ is the size of the set, what would be the appropriate notation for the sum of this set of numbers? Is it
$$\sum_{x_i \in S} x_i \qquad\text{or}\qquad \sum_{i=1}^{|S|} x_i$$ or something else?