title: Matplotlib how to count the occurence of specific value
body: <p>I have a DataFrame like this:</p>
  <pre><code>          Apples       Oranges
  
  0            1           1
  1            2           1
  2            3           2
  3            2           3
  4            1           2
  5            2           3
  </code></pre>
  <p>I'm trying to count the occurence of values for both Apples and Oranges (how often values 1,2 and 3 occur in data frame for each fruit). I want to draw a bar chart using Matplotlib but so far I have not been successful. I have tried:</p>
  <pre><code>plt.bar(2,['Apples', 'Oranges'], data=df) 
  plt.show()
  </code></pre>
  <p>But the output is very weird, could I have some advise? Thanks in advance.</p>
  <p>Edit: I'm expecting result like this:
  <a href="https://i.stack.imgur.com/Dvwtj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Dvwtj.png" alt="enter image description here" /></a></p>