How do I find the number of similar values in this 2D array? Need some help!
var data = [[0,0],[1,0],[1,0],[1,0],[1,0],...,[7,0]]
I am looking for something like this:
var data3d = [[0,0,1],[1,0,12],[2,0,25]......
I want to store the count value in the third element