Todd has some nickels, dimes, and quarters which total $2.50. He has twice as many quarters as dimes and four times as many quarters as nickels. How many quarters does he have?
A.7
B.5
C.9
D.8
E.6