def get_value_count(df, col, value):
    """
    Do value_count function of column col on dataframe df
    Get count of value (an element in col), if value is not present then return 0
    """
    df2 = df[col].value_counts()
    if value in df2.index:
        value = df2[value]
    else:
        value = 0
    return value