To define a metric, 

 

All metrics are displayed.

As seen above, you can edit or delete metrics in the table. There is also an execute button next to metric which calculates the issues count and cache it immediately. Otherwise, the result will be calculated via scheduled task