If you name two compounds by IUPAC rules and they have the same name, then they are the same thing. If they have two different names, then they are different. The prefixes cis and trans are useful for disubstituted molecules, but they become ambiguous for trisubstituted molecules. If I am interpreting your drawings correctly, 5 duplicates 2. I think that one isomer is missing: try putting the two carboxylic acids on the same carbon of the vinyl group.