title: How to count the occurance of all elements of list in python?
body: <p>I have to write all the elements separately along with their count.
  <a href="https://i.stack.imgur.com/9ujrp.png" rel="nofollow noreferrer">It's the program i have made. It is counting correctly but not giving required output</a></p>
  
  <p><a href="https://i.stack.imgur.com/SByvh.png" rel="nofollow noreferrer">The output is like this</a>
  <a href="https://i.stack.imgur.com/nYPMH.png" rel="nofollow noreferrer">I want output to be like this. All digits showing individual complete count</a></p>