Gary saved dimes and nickels at a ratio of 5:7. Then, he saved some more dimes 20% of the original number of dimes and some more nickels 3 times of the original number of nickels. If he had 540 dimes and nickels altogether in the end, how many fewer nickels than dimes did he have?