The number of terms in an arithmetic progression

Hint : You can find the number of term in an arithmetic progression if you know the last term


Find the number of terms for each of the following arithmetic progressions.
(a) 5, 9, 13, 17... , 121
(b) 1, 1.25, 1.5, 1.75,..., 8