Count checked buttons

I am using a run button and want to display the number of rows that have been checked in a grid. Is there a way to display the count as rows are clicked?

Thank you,
Robb