jane bought a case of wine for $345. She kept three bottles of wine for herself and sold the rest for $480, making a profit of $17 on each bottle of wine. How many botles of wine were in the case?