Code doesn't consider the sink to be countertop space, so I'd tend to think that a receptacle behind the sink, while not prohibited, might not count towards the 24/48" requirement. Kinda splitting hairs there, though.