2 dimes and 15 pennies = nickels

2 dimes + 15 pennies = 20¢ + 15¢ = 35¢

7 nickels = 35¢

So the answer is 7.