Array Appending The Count To Duplicates In A Javascript String Array

Array Appending The Count To Duplicates In A Javascript String Array