The cooking club made some pies to sell at a basketball game to raise money for the new math book. The cafeteria contributed three pies to the sale. Each pie was then cut into seven pieces and sold. There were a total of 91 pieces to sell. How many pies did the club make?