It should be possible to write the name of the number element you have in TLV_Count that should serve as a repeat max value.
Please be aware that only element names without a space work.
If it doesn't work like this, please send the grammar per email (if you don't want to have it publicly available).