For example let's say I've got a table as such:
| PrimaryKey | List |
|---|---|
| 1 | thing, stuff |
| 2 | thing |
| 3 | stuff, doodad, thing |
| 4 | stuff, thing |
Where each value in the 'List' column is a string with words separated by a comma. I'd like to get the count of each word that appears in that column so that I end up with this:
| Word | Count |
|---|---|
| thing | 4 |
| stuff | 3 |
| doodad | 1 |
I've seen a lot of really similar questions, but can't seem to figure it out. Any help is much appreciated!
