The only difference is that the top rank can bridge the 1st rank to form a sequence. Think of it as if Q, K, A, 2, 3 was a legal straight. How is that calculated?
A More Complex Straight Variant:
This one gets trickier, I think.
In this variant, there are: