How can count true or false propierties on DB


I tried to do a list with toggle component and then, I’d like count the toggles checked when have “True” statment:

And other function, is it posible, discount when check has “false” state o delete with action.

Check this.

Thank you so much @Yongki I will try, and hope take insights