Counting summations