Lindsay went shopping at her favorite store. She bought 4 shirt $50 each. She bought 2 purses that cost $30 each she also bought some pants that cost $40 each. If her total bill was $380. How much many shirts did she have?