Would colleges count a college Art History Class in GPA for admissions?

ok but when colleges release their middle 50% GPA statistics what is it based on? Are they comparing apples and oranges by including some GPAs that are weighted and some that are not? That just makes no sense. If a school has an average GPA of 4.2 and my school doesn’t weight GPA then I have no shot at that school.