Problem 76: Counting summations