Remove 2-iteration loop in syn_combine_list()

New functions created for counting & for copying(merging) the elements