def groupCount(grp):
    """ 
    function to count the number of samples that share the same mutation
    Input: Acts on a pandas groupby object
    Oputput: returns a DataFrame
    DEPRICATED: This has been reduced to a faster lambda function 
    """
    return len(grp['sample'].unique())
