def countGenders(genders):
    """Count genders in list
    
    Parameters
    ----------
    genders : list 
      Gender list to count from
    
    Returns
    -------
    female : int
      Female count
    male : int 
      Male count
    nb : int   
      Non-binary count
    """
    female = genders.count('female')
    male = genders.count('male')
    nb = genders.count('non-binary')
    return female, male, nb