def METHOD_NAME(commits):
    """Builds a dictionary containing the number of commits and the list of unique committers."""
    result = dict()
    result["commits_number"] = commits.totalCount
    committers = set()
    for commit in commits:
        if commit.committer:
            committers.add(commit.committer.login)
    result["unique_committers"] = list(committers)
    return result