6. A store purchased a batch of pens at 10.9 yuan each and sold them at 14 yuan each. When $\frac{4}{5}$ of the pens were sold, not only was the entire cost recovered, but a profit of 150 yuan was also made. This batch of pens has $\qquad$ pieces.
$500$