Sum of array elements.