This may seem pity stupid but I am somehow stuck in this:
I have got a file containing years like this :
now this is just a part of a file containing almost 50000 years.
What I want to do is :
count how many times a single year appears for the above sample, so in this case my output should have been something like this:
I have written a code but since it' not working it's pointless to post it here. still can anybody help me out with this.