Consider the following independent random variables $(V_1,V_2,V_3,\ldots,V_n)$ and a random variable $X$ as a function of these other random variables defined as follow on a set $A=(-\infty,x]$: $$ \ X=f(V_{1},V_{2},V_{3},\cdots,V_{n})=\sum_{i=1}^{n}1_{(-\infty,x]}\left( V_{i}\right) \ $$
Are the following assertions true $$ \ \mathbb{E}\left( X\right) =\sum_{i=1}^{n}\mathbb{E}\left( 1_{(-\infty ,x]}\left( V_{i}\right) \right) =n\mathbb{P}\left( A\right) \ $$ and that the variance is
$$ \ var\left( X\right) =var\left( \sum_{i=1}^{n}1_{A}(V_{i})\right) =\sum_{j=1}^{n}\sum_{i=1}^{n}cov(1_{A}(V_{i}),1_{A}(V_{j}))=n^{2}% \mathbb{P}\left( A\right) \left( 1-\mathbb{P}\left( A\right) \right) \ $$