The statement that there is no head loss in a closed loop system is incorrect; there most certainly is. This loss is not from pushing against gravity though, it comes from skin friction of the piping. The higher the velocity of fluid in the CL piping the larger this loss. So, you want to ensure that your CL piping is as wide diameter as possible so that velocity is minimized.
Kim is of course correct, just take all the vertical lengths in your CL piping and add them to the horizontal length. That will produce the correct result. Don't neglect the vertical runs, just add them to the horizontal runs.