def __sizeby(df, col, nbr=5, ascend = False):
    """
    Count for specific col in a dataframe

    Parameters
    ----------
    df : pd.DataFrame
        Dataframe containing the col to count from.
    col : str
        Column name to count from.
    nbr : int, optional
        Number of value to retrieves. The default is 5.
    ascend : boolean, optional
        Sort order by ascending. The default is False.

    Returns
    -------
    sub_df : pd.DataFrame

    """
    sub_df = df.groupby(col).size().sort_values(ascending=ascend).head(nbr).reset_index()
    sub_df.rename(columns={0:"count"}, inplace=True)
    
    return sub_df