Rubbish!
The answer is four. The man takes the giraffe to the opposite side. Then the giraffe's cousin eats the cabbage, and his three siblings jump in the boat to avoid the excess flatulence.
They are joined by the wolf, who in a twist on this old riddle is wearing a bear suit to fit in.
The man is eaten by a lion.