A sum amounting to $ 3.35 consists of quarters and dimes . If there are 23 coins in all how many are quarters ?