Peter sold 4 times as many tablets as laptops and collected a total of $8400. Each laptop costs $325 more than a tablet. The amount collected for all the tablets sold was $3480 more than the amount collected for all the laptops sold. How many laptops did Peter sell?