eprice, if it's under 5' then it would be included per code. But as an inspector it's your decision to count it or not and up to the inspectee to challenge you and/or the code.
I'd be a pretty upset homeowner to discover the nearest receptacle for the lamp on my dresser was 5 feet off the floor. ARG!!!
The my method is to put a receptacle directly below the 5 footer to be sure things like VCR, DVD, Xbox, etc, can be used. Given that most devices have 6 foot or less cords it would make a receptacle 5 feet or higher difficult to plug in. That's probably why the 5-1/2' number is used.
The photo looks like someone did it right. I like to run coax at both outlets to allow things like VCRs, xBox, or whatever to be easily connected versus strapped to the bottom of the TV mount.
There does need to be a section in the code related to giving someone a good slap upside the head when they do stupid things as well as a requirement that common sense be used at least 50% of the time.
I'd like to see receptacles that move towards the ceiling for each year that I age. Seems like it's harder to bend down to plug in as I get older.
By the time I'm 80 I'd like them right around 36"....and all the light switches can be removed too because I won't be awake when it's dark out.