A bank contains 30 coins, consisting of nickels, dimes, and quarters. There are twice as many nickels as quarters and the remaining coins are dimes. If the total value of the coins is 3.35. What is the number of each type of coin in the bank?