title: How can show the count of a element of a csv file
body: <p>I've placed the contents of a .csv file in the data list
  with the following code in Jupyter notebook</p>
  <pre><code>data = []
  with open(&quot;president_county_candidate.csv&quot;, &quot;r&quot;) as f:
      contents = csv.reader(f)
      for c in contents:
          data.append(c)
  </code></pre>
  <p>I can only get an element through the index number, but that gives me the whole row of the list. How can I choose specific elements and the count? In the image, you can see the content of the List(data).</p>
  <p><a href="https://i.stack.imgur.com/W0sPA.jpg" rel="nofollow noreferrer">data</a></p>