Do extra summer classes after 11th grade count towards transcript gpa?

Hey
I’m not exactly sure if summer classes at a community college count towards my gpa? I’ve read on some websites that summer classes do count towards gpa, but some websites said that they don’t.
If they do what do colleges think? (especially UC’s and CSU’s, since I live in California)

Thanks!

Yes they do.