How to count how many times a word appears in a list in python : <p>I have the following list in python</p>

<pre><code>texts = [
    ["great", "even", "for", "the", "non", "runner", "this", "sound",
     "track", "was", "brilliant"],
    ["cannot", "recommend", "as", "a", "former", "comrade", "i", "did",
     "not", "want", "to", "have", "to", "do", "this"]
]
</code></pre>

<p>and I want to go through the list and count how often each word appears in it.</p>

<p>I have tried counting the individual words using <code>length()</code> and I get a <code>2</code> as a result which means it does not work.</p>

<p>Is there any way I can count how often a word appears in a list as I intend storing the counted word in a new list and it's frequency in another list.</p>

<p>Thanks in advance </p>
