Play animation 3x triggers a different animation

Hello everyone, I want to trigger an event after a specific animation played 3x.
My character needs to (animation)“get up” 3x and on the 3rd time he (animation)“kneels”.
On visual script if possible
Thank you kindly