Rank computation in Euclidean Jordan algebras. (November 2022)