def categories_report(x):
    """Returns value counts report.

    Parameters
    ----------
    x: pd.Series
        The series with the values

    Returns
    -------
    string
        The value counts report.
        str1 = False      22 | True      20 | nan     34
        str2 = False (22) | True (20) | nan (34)
    """
    # Do counting and sorting
    counts = x.value_counts(dropna=False)
    counts.index = counts.index.map(str)
    counts = counts.sort_index()

    # Create different strings
    str1 = ' | '.join(str(counts).split("\n")[:-1])
    str2 = ' | '.join("%s (%s)" % (i, counts[i]) for i in counts.index)

    # Return
    return str2