title: 1mpl3m3nt vector stack & output a stored&counted item
body: <p>Here's my code:    </p>
  
  <p>I currently have everything the user enters dumped into the stack and sorted, but I don't how/where to go from here. I tried solving it with a count variable, but my solution isn't proper (it should output "2 dog" only once if the user enters dog twice). If anybody can help or knows a way to solve this, please give an example.</p>