A very good question, and I think I know what you mean. If there's a wall at the end of the counter, do you need to put an outlet on it to maintain the 2' rule? It would be hard for me to believe the writers of the Code intended that an outlet would be required at the end of the counter, in addition to the one that's already 2' from the end of the counter. That would seem silly. If that were true, then what about a counter that just ends, and is not up against a wall? Do you put one on the side like an island or penninsula? If so then there's a lot of houses in the U.S. that are in violation. Still, if you go strictly according to the wording in 210.52(C)(1), then you would have to follow the wall line as it comes around the end of the counter. I had one time an inspector made me do this, but that was the only time.
Maybe someone else has another idea about this.