Add SumCount to count the number of elements