public int getRepeatCount() {
    return animator.getRepeatCount();
  }
Defines how many times the animation should repeat. The default value
is 0.

@return the number of times the animation should repeat, or {@link #INFINITE}
lottie/src/main/java/com/airbnb/lottie/LottieDrawable.java