There are only 4 wires on it, + and - from the battery and the + and - to the pump.
Just look which ones go to which on the trolley before you take it off, one has and in line fuse which I believe is the + to the pump, so that only leaves 3 and I think the black one that comes out of the varistream next to that one is the - for the pump, so only red and black, + and - for the battery.