I have this array:
array (
[0] => Chrome 35 (Lin)
[1] => Chrome 35 (Unk)
[2] => Chrome 35 (Unk)
[3] => Chrome 18 (Lin)
[4] )
And I want to get a count of each unique value like this:
[["Chrome 35 (lin)",1],["Chrome 35 (Unk)",2],["firefox",20]]
I really have no idea on how to achieve this, but this format is totally unknown to me.