def print_number_and_permutations(permutations):
    """
Given a newline-separated list of combinations,
return the number of combinations as well as the
original list.
    """
    number = len(permutations.split("\n"))
    return("%s\n%s" % (number, permutations))