How do I get the count of a repeat and use it as a condition?

Hi, I have an element that contains a bootstrap-generated table that could have between 0 and 5 rows. I would like to toggle the class of the element if the count of the repeat is 0. How would I set this condition for this class toggle?

Thanks!

Community Page
Last updated: