This is a great use case for a conditional aggregation. You might try using something like: Count({<ColumnName={'value'}>} ColumnName)
just adjust the field and condition based on what you need. Also, make sure your data model supports the condition properly. Hope that helps!
Ask C