def format_counts(counts):
    """Formats the contents of the counts dictionary into a string suitable
    for output.
    
    Args:
        counts - dictionary containing the attendance statistics
    Returns:
        string containing the counts formatted for output
    """
    fstr = ("Attendance Figures:\n"
            "    Registrations:    {0}\n"
            "    Total Attendees:  {1}\n"
            "    Registered No Shows:       {2}\n"
            "    Non-registered Attendees:  {3}\n")
    return fstr.format(counts['registrants']
                       ,counts['attendees']
                       ,counts['reg_no_attend']
                       ,counts['attend_no_reg'])