A collection of dimes and nickels has a total value of two dollars and contains 28 coins. How many dimes are there in the collection?

A.)14 dimes

B.)8

C.)12

D.)10