e g 7 finding the number of terms in a partial sum