I have a list of different movie genres:
['Action, Adventure, Thriller', 'Comedy, Drama, Romance', 'Adventure, Drama, Romance', 'Crime, Drama', 'Drama, Thriller, War', 'Animation, Adventure, Comedy']
The first list entry 'Action, Adventure, Thriller' consists of the genres of the first movie, the second list entry 'Comedy, Drama, Romance' consists of the genres of the second movie etc...
I want the following output in order to find out how often each genre appears in the list:
['Action', 'Adventure', 'Thriller', 'Comedy', 'Drama', 'Romance', 'Adventure', 'Drama', 'Romance', 'Crime', 'Drama', 'Drama', 'Thriller', 'War', 'Animation', 'Adventure', 'Comedy']
How could I achieve this list where each genre is surrounded by single quotes and separated by comma?