A jar contains only quarters and dimes. There are a total of 12 coins in the jar, and their total value is $2.10. How many dimes are in the jar?
4
6
8
9