Completing the example with update/delete

The counters can now be shown in a listview to update and delete them
from the database.