Mitch ordered several baseball hats for 12.65 each and paid $3.99 for shipping. If Mitch spent a total of $130.49, how many baseball hats did he order?