def get_negations(tokens):
    """Identify, color and count negations (nicht)"""
    
    # get negations
    nicht = [t for t in tokens if t.full_pos == 'PTKNEG' and t.lemma == "nicht"]
    kein = []
#    kein =  [t for t in tokens if t.full_pos == 'PIAT' and t.lemma == 'kein']
    negations = nicht + kein
    
    # color
    for t in negations:        
        t.pattern_color.append('Negations')
        
    return len(negations)