Total of array