HELP! finding correct U-joint

I just realized that i bought a 3" steering clamp i hope mine is not the 3 1/2 im dyin gto put this thing back together and drive it more.

how do you measure this? from top to coupling hole?
or
from top to bottom?