How to detect duplicate words in a list and count them in a specific way : <p>I've been learning python 3 for about 1 week now and I just can't find a way to do this, so here is my question.</p>

<p>I have this list:</p>

<pre><code>['apple', 'banana', 'apple', 'tomato', 'carrot', 'apple', 'banana']
</code></pre>

<p>Now I want to detect the duplicated words, count them, put the result in front of the word and print in a single string like this example:</p>

<p>Apple 3, Banana 2, tomato, carrot</p>

<p>Order doesn't matter.</p>
