Jun Wei has 12 more 10-cent coins than 20-cent coins. The total value of all his coins is $5.40. Find the total number of coins he has.