Does APUSH count for 1 or 2 UC-B/H courses when transferring to a UC?

I know you get 5.3 semester/8 quarter units for passing APUSH but when I’m transferring to a UC, it requires me to have 4 courses in humanities, social/behavioral sciences, and/or sciences. APUSH at my CC counts for 2 courses, each worth 3 units, and they are also transferable for UC course eligibility. So when I’m applying, do I get 2 courses worth of UC-B/H or only 1?

You only get to pick one category.