How to get loop function repeat note n times?

Hi!

I used to use NI Battery 3 for a years and there was a “count” option in loop section:

It works like - I press the note, sample plays three times and then it stops.

How can I get this count-limited looping in Groove Agent 5 (I got full, not SE, if it matters)?