A piggy bank contains the same number of quarters as nickels. If there are no other coins in the piggy bank, and it is worth $2.10, how many quarters are there?
A. 4
B. 5
C. 6
D. 7