A collection of 20 coins made up of only nickels, dimes and quarters has a total value of $3.35. If the dimes were nickels, the nickels were quarters and the quarters were dimes, the collection of coins would have a total value of $2.75. How many quarters are in the original collection?