Sam is ordering shirts online. The shipping is a flat rate of $5.99, and each shirts costs $12.50. He spent $80.99 in total. How many shirts did he order