DRY "update count" snippet into a partial template