def count_missing(df, prop=False): 
    """Count a dictionary of the number of missing data in each column"""
    
    if prop == False:
        return (df.isnull().sum().to_dict())
    else:
        result = df.isnull().sum() / df.shape[0]
        return (result.to_dict())