First of all, it was difficult to find the proper title for my question. Basically, I would like to write an equation for the following:
For each branch $b_i$ where i in 1 to n, the BEC value for that branch is
$$\sum_{l=1}^{w} r_l \ \forall \ r_l \in \left \{ 0, 1 \right \}$$
where w is the number of runs and $r_l$ is whether the branch $b_i$ has been executed in that run (i.e., = 1) or not (i.e., = 0).
To write that as an equation, I did the following:
$$\forall \ b_i \ where \ i \in \left \{ 1, \dots, n \right \} BEC_i = \sum_{l=1}^{w} r_l \ \forall \ r_l \in \left \{ 0, 1 \right \}$$
I'm not quite sure if this equation looks fine or not.
Can someone please help me in writing the proper equation?