public void setRepeatCount(int count) {
    userActionsTaken.add(UserActionTaken.SET_REPEAT_COUNT);
    lottieDrawable.setRepeatCount(count);
  }
Sets how many times the animation should be repeated. If the repeat
count is 0, the animation is never repeated. If the repeat count is
greater than 0 or {@link LottieDrawable#INFINITE}, the repeat mode will be taken
into account. The repeat count is 0 by default.

@param count the number of times the animation should be repeated
lottie/src/main/java/com/airbnb/lottie/LottieAnimationView.java