def get_imperatives(tokens):
    """Identify, color and count imparative forms"""
    
    imperatives = [t for t in tokens if t.full_pos.endswith('IMP')]
    
    for t in imperatives:
        t.mode_color.append('Imperatives')
        
    return len(imperatives)