Take unique indexes when pixelizing with ensonly. Add indicator for counting.