I have 54 coins in my pocket; some of them are quarters and the rest are nickels. In total, the coins are worth $6.10. How many of each coin do I have?