A collection of coins consists of dimes and nickels .The number of dimes is two more than the twice the number of nickels.The value of the collection is $2.70. How many dimes are in the collection ?