Compresses the string and returns a string having all unique alphabets with count of each alphabet following that alphabet