title: Count items in list and make it a dictionary
body: <p>I am trying to generate a dictionary from the list</p>
  
  <pre><code>names = ['tango', 'bravo', 'tango', 'alpha', 'alpha']
  </code></pre>
  
  <p>The result is supposed to look like this:</p>
  
  <pre><code>{'tango': 2 , 'bravo': 1 , 'alpha': 2}
  </code></pre>
  
  <p>How would I be able to do that?</p>