How can I count how many times each minimum exists?
I've included example dataset in following link: https://www.db-fiddle.com/f/nUJdzj3ETXb8knMfeqYtRw/0
for example there are six 1's in the table, however only four of them are minimums for corresponding name
desired output would be
| minimum | count |
|---|---|
| 0 | 2 |
| 1 | 4 |
| 2 | 1 |