Terry had his car repaired at ace auto. He was charged $50 per hour of labor plus $150 for parts. It's total bill for the repair tax was $375. How many hours of labor was terry charge for?