Hrmm, the SOS counter seems a bit messed up.
It goes in a sequence of 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 1a, 1b, 1c, 1d, 1e, 1f...
Also SOS Pokemon will fill in the first four slots, rather than say, slot 1 for the one on the left and slot 2...