```sql
SELECT category, COUNT(*) AS row_count
FROM your_table
GROUP BY category;
```