public int getRepeatCount() {
    return lottieDrawable.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 LottieDrawable#INFINITE}
lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java