simple way to randomize amount of loops

Playing around with some of my first animations, is there a simple way in the animator to set a number of loops before transitioning to the next animation? and is there a way to randomize that number? Obviously it can be done by coding it, Im curious if it done be done directly in the animator setup.
Thank you!

In the transitions menu their is a settings option, where by you set the length of time before the transition occurs, i.e. The animation will loop continuously until the set amount of time occurs. As for randomising, I don’t think that can be done without a script. But it’s fairly easy to do with scripting, just add a float or integer to the animation controller and then access it via something like:

float randomAnim = Random.Range(0, 10);

animator.SetFloat("Animation", randAnim);