<s>[INST] When the terms of a geometric sequence are added, the sum is $S_n = \frac{21}{16}$. The first term of the sequence is $a_1 = \frac{3}{2}$ and the common ratio is $r = \frac{3}{4}$. What is the number of terms in the sequence?[/INST]