How many times a 5G SA phone tries the RA procedure with failure results by default?

Check this → Why 2-Step RACH in 5G-NR (3GPP-R16)?