Updated the counts
We now try to place next to the same color if possible