Get often occuring string patterns from column in R or Python,"[('okay', 5), ('bla', 5)]"