Quit a four-year university, started at a CCC then transfer to UC

Thanks for your reply! Another thing I am concerned is that, for example, if I took a three-credit Introduction to Psychology course at the previous university, which is UC transferable. And then I took the similar three-credit Introduction to Psychology course at a CCC. Then what’s the credits that can be transferred to UC? Three credits or six credits?
Thanks for your help!