Do honors classes count the same as regular classes in terms of retaking it?

i failed CC Algebra 2 during my 10th grade year and i retook it my junior year as H CC Algebra 2. My question is, does it count as the same class when applying to Cal States?